text:
Why doesn't Huawei provide just the USB driver to use ADB?
I'd like to use the MyPhoneExplorer application to sync my Android smartphone with Windows over USB.
This requires first installing a driver for the phone and the ADB application.
However, the official driver seems only available as part of the Huawei HiSuite bloatware: http://consumer.huawei.com/minisite/HiSuite_en/index.html
Can someone confirm that there's simply no official driver from Huawei, and the alternative is either installing that bloatware, or find a non-official (possibly virus-carrying) driver somewhere?
Thank you.

Ex Honor 6 user
Confirmed. There is no other way except installing Hi Suite or risking unknown driver. Tried unsuccessfully with several trusted universal drivers
This is my conclusion after I searched in several forums like XDA, Huawei forums ( trawling is a problem as they are in Chinese and one had to depend on Google translate) and Facebook sites of Huawei users. My search was motivated by unconfirmed posts that HiSuite send user information to its servers- bloatware I could live with. I was left with no option but install HiSuite

Thanks much. I'll just install HiSuite, then, rather than installing some unofficial driver.

Drivers are not distributed as standalone package in order to increase market penetration of the HiSuite software. It's quite popular marketing strategy: you can get what you want only in bundle with something you don't actually want, but need to get the primary item is big enough to make you buckle in and get the whole package.
Nevertheless, you can circumvent the bundling yourself:

download the HiSuite installer.
open the installer .exe with 7zip and extract its content preserving internal folder structure (a trick that works on most installers)
find something that looks like the driver
run/install it, preferably on a disposable system first, to prove it's what you want.

In HiSuite version 5.0.1.300 it was \$_OUTDIR\Driver\all\DriverSetup.exe. Works with P8 Lite and Mate 7.

This is very good, saved the trouble of installing extra software. I already have HiSuite on another computer (just for storing backups and the like).

I was looking for those lately, sorry for Golden Shovel award, but if I found this thread then maybe someone else will find this helpful.
Download installer for this HiSuite. Unpack it, like archive (I use 7-zip). It asks for file replace, just 'yes' it (it is because installer format, don't worry). If you order your Windows to look for driver inside this unpacked folder it will find it, but from catalog tree you should know what's what.
Bang, you have driver without installing crapware.

duplicate answer

If you just want to directly access your Honor (I've got an Honor 6A) phone, go to "Settings", "About Phone", press 7x "Build Number" - the phone tells you, that "You're now a developer!".
Go to the new "Developer Options", activate "USB Configuration" an choose MTP or PTP. After that I could access the internal phone memory and the SD card directly via Explorer in Windows - without installing HiSuite or any Drivers or something special. Without these steps I only got a HiSuite Installer Option and no access to the phone's memory.

Thanks! "Developer options" are near the same menu as "About phone".

You can install manually the Google USB driver that comes with the SDK for Android developing, it works to use adb on several Android phones, when you're in the process to install it, Windows might tell that the driver might not work properly, but it doesn't care.

As @Gulbahar said, there is no way except installing the HiSuite or relying on unofficial drivers.
What I did and worked was installing HiSuite, restart my pc, and without connecting my phone to HiSuite for privacy concern, uninstalled HiSuite software. Happily when I uninstalled HiSuite it did not uninstalled the driver :).

Here is the official way to install the driver. It is suggested to connect the phone as a virtual USB-device and install drivers from it. Worked fine for me.

Perhaps it is because my phone is brand new (Nova) but when plugged into windows 10 it asks if for charging or file transfer. If you chose the latter you can access the phone and memory card.

Actually, there is a solution, so follow the guide below:
Step One

download "HiSuite" from this link:
https://consumer.huawei.com/minisite/HiSuite_en/
extract the compressed file then extract "Hisuite_8.0.1.302_OVE.exe" file using 7-zip.

Step Two
To install the Android USB driver on Windows 10 for the first time, do the following:

Connect your Android device to your computer's USB port.
From Windows Explorer, open Computer Management.
In the Computer Management left pane, select Device Manager.
In the Device Manager right pane, locate and expand Portable Devices or Other Devices, depending on which one you see.
Right-click the name of the device you connected, and then select Update Driver Software.
In the Hardware Update wizard, select Browse my computer for driver software and click Next.
Click Browse and then locate the folder you just extracted from ".exe" file
Click Next to install the driver.

Good luck.

The trick is to make android OS connect you before Hisuite bloatware kicks in.
Go to settings > developer options > under select USB configuration > select MTP. then connect your USB.
When you unplug the USB, Huawei will reset it back to charging, hence forcing you again to use it. so you'll have to change the developer options configuration every time you need to connect your USB. This way worked for me on the EMUI 10.1.0.286
I have a mate 20 pro that have been driving me crazy since the EMUI 10 update. Hisuite is ONE of the issues where Hisuite is forced on us now instead of a regular file transfer. Since I was previously able to connect my phone using USB and use it as storage, or backup, etc. Not anymore.
I did have no choice but to install it and give them a copy of my life, i will email the privacy department and request that they delete my details. That's what their website says to do!!!

This is the right answer, HiSuite is not needed (in fact it's *way* better if you uninstall it altogether, given its forceful tendencies to interfere with USB modes). Once this is done, just use the normal (google) adb drivers with the USB\VID_12D1&PID_107E&MI_01 device. P.s. all the tinkering above is needed because something overwrites [sys.usb.config] seconds after boot completes. For reasons unknown to mankind, Allow ADB debugging in charge only mode was found to let the setting stick.

Not really an answer to the above question but I found this question when trying to find ways to transfer files without needing HiSuite. I wanted to comment on an existing, related answer but in some step of brilliance on the part of I fail to understand you need less reputation to answer than to comment.
If you just want to access the files go to Settings -> About Phone and tap on the Build No. 7 times. You should get a message (a toast) informing you you're now a developer. Search for enabling developer mode on your phone specifically if you're lost. As Peter said in his answer you can select the file transfer protocol but in my case I also had to enable USB Debugging for the internal storage to show up in my file manager. Why this isn't default behaviour escapes me.
Hope this helps someone because it stole 40 minutes of my life.

I didn't get it to work so in the end I used adb tools from google
download, unzip, in the unziped folder in the path name: select all and replace with "cmd", hit enter, adb push C:\folder\yourfile.txt /data/local


text:
Can't add or remove files on SD card
I have a Samsung Galaxy S5 (SC-04F). It has a stock ROM, not rooted, recently upgraded to Android 6.0.1.
After upgrading to Android Marshmallow, No application seems to be able to add, remove, or edit files on the external SD card. For example, Dropsync, can not download files to the SD card, n7player can not remove music files, QuickPic can't move or edit pictures. These are just examples... no app on my phone seems to be able to access the SD card.
Reading files is okay. n7player can play music, and Quickpic can view images, but no app can make changes to the SD card.
If I connect the phone by USB to either my Linux or Windows computer, I can add or remove files from the SD card just fine.
I tried reformatting the SD card, and that didn't change anything.
Whenever I try to take action on a file from within any app, I'm always given this screen:

I follow through by pressing "Got it", and then I am shown the following interface:

Unfortunately, though, nowhere in this interface can I find any option to change permissions on my SD card, or even act on it in any way at all.
In the top left, there is a three dot icon, and if I press it, it gives me the alternate options of either "Show SD Card" or "Hide SD Card". However selecting either option changes nothing.
How do I make my SD card available for use by the apps on my phone?

You should find SD card when you press the menu option button left  of recent. In case you don't  go to Settings > Apps > Show System Apps and find External Storage and Media Storage and clear data and cache on each one and reboot, then give it some time after full boot up to rebuild media databases

Do the above after removing and reinserting SD card

@beeshyams, Thanks for responding. I followed your instructions, but unfortunately it didn't change anything.

Unfortunate. Let's wait for other options. I had a somewhat similar problem and it took three attempts of repeating the process if i recollect right. Your problem may be different but it may help to repeat a few times

You could give this app a try - local storage

@beeshyams, thank you for suggesting the Local Storage app. It provides its own interface for editing files on the SD card, but unfortunately it doesn't seem to have the ability to change the permissions or capabilities of any other apps.

source: Stack Exchange

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

sort: votes


text:
How do you get the permissions popup to come back?
We have Nexus 5X running Android 6.  We are using a dongle to connect the USB C plug to a USB A device and when we did it for the first time we got a permissions popup to allow us to use the USB device.  However, when we try it now the device is not working and no matter what we do (unplug and replug, restart) we can't get the permissions popup back to allow us to the USB device.  Any suggestions?

Settings - Developer options - Revoke USB debugging authorizations.

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


text:
Is it possible get caller’s cell tower information?
I had read somewhere that the caller’s cell tower information is sent to the receiver of the call. Is it true because I can’t find any details regarding this online?  If this is true why are there no apps to show this information on the receiver side of the call?
Edit: For this we can consider that the phone is rooted and the entire ROM is open source including the vendor RIL framework.

No its not.
If i had a penny for every time i'd been asked this question, or answered a similar question i'd be very rich by now :-)
You as a user, CAN get your devices cell tower info, showing which tower id your connected to, but the only people who know that same info of the person placing a call to you are the engineers in the network operations control room and that's only because they have access to the networks MSCs and BSCs allowing them to query for a subscribers IMSI.
Some operators do make this info available via an API or some kind of exclusive network access, but generally only if your a big corporate client who's likely to spend a lot of money with them, and give them a cut of the revenue generated from such access.
For the likes of most folks wanting to write simple apps to show the location of the person calling them, well it's very likely to never happen.
UPDATE
Seems I got a bit of flack from some sources about my abruptness on this answer originally, for those who are wondering I was a Senior Radio Access Networks Engineer for Orange UK for about 5 years, and routinely asisted law enforcment with queries regarding tracking calls, sms, and the location's of mobile handsets.
The amount of access that your engineers in the O&M department of your telco have is quite staggering, during my time in the job, I could at any time of day pull up any SMS, MMS or data packet sent across the company's networks, often without needing any kind of written permission.
I was able to do many things, including track your cell tower usage, but none of it was ever sent to the remote end of a connection, the originator was where that info stayed, well that and the internals of the network.
Now, that said, Iv'e been thinking about this question somewhat, and there is one way that it could be done, BUT... you would have to write your own calling application.
Essentially, what you would need to do, is write an app that intercepted both incoming calls and sms, and replaced the default outgoing calls app on the phone.
When a new call is made, once the number has dialed, you read the calling phones cell tower information, then build an SMS message with that info in.
Once the remote end answers (You can't do it while the phone's ringing as the signalling channel will be in use) send that SMS to the destination handset, and have the app that answered the call, tag that incoming message as belonging to that call.
Timing would be critical however, and it would be quite tricky to get right, with modern methods however, these days, it's kind of doable, but it's NOT an automatic thing.

Is the caller's tower information sent to the receiver of the call?

Nope, not at all...


text:
How do people at service center check if the phone is rooted or not?
How do they check it, in order to decide whether the phone is in warranty or not?
I am referring to the majority of the phone manufacturers who void the warranty of their phones 'as soon as they are rooted'.

Varies as per OEM

Most devices need bootloader to be unlocked before rooting. OEMs like Motorola insist on a formal request to be made on their website for obtaining boot loader unlock code. The moment you make the request, your warranty is void whether you unlocked the bootloader /  rooted or not

Edit: Since you own a Motorola device, more details

When you request for bootloader unlock code, you have to identify your device serial number, which means database is available with service center to check against your serial number. Motorola clearly warns you that requesting for unlock code  = rooting, whether you root or not and void warranty

If you do unlock bootloader and do not take steps to prevent this warning from showing up (involves flashing a custom boot logo file) , this image will show up everytime you boot.

Even if you lock bootloader again by applying a bootloader lock code, in bootloader mode it will show
`DEVICE IS LOCKED. STATUS CODE : 2'

whereas the status code for unlocked devices is 1
So be very sure about unlocking bootloader, the service center guys can easily find out !!

For Samsung devices it is very easy to read the Knox status. If that is tripped, your warranty is void ( exceptions apply in some geographies)
Some devices display Modified / Custom status in the device properties or in diagnostics ( this to Andy for pointing that out)
It is reasonable to expect that OEMs who void warranty on rooting would have a root status shown in the device diagnostics. Just in case there isn't, they can  use Root Checker apps, or check using Terminal Emulator. Use of third party apps I guess would be more of an exception, since inbuilt tools would do the job

Also, on Samsung, even back in the days where Knox does not exist, there's still a flag for modified /system (that says OFFICIAL or CUSTOM).

Install Root Checker app or connect it to computer and check its firmware.
You can connect it to computer through Mobogenie and check it's root status

The question is not asking how a user can check, but how the oem will check.


text:
How do I install systemless SuperSU in Samsung?
I'm currently using a custom Android 6.0 ROM on my Samsung Galaxy Note 3 SM-N900. I need to put suhide in my device and it need systemless SuperSU to be installed, Google didn't help me at all. Any of you guys know how to?

If you are using stock Android 6 and newer you can only have systemless root because of security restriction. So if you root your phone running stock Android 6, you will have systemless root.
Because you are using a Samsung phone it might be a bit more tricky. It could be that your custom rom has it's own su installation in the system partition. Then it's not systemless. To have a systemless root installation it's required to install su in the boot image. This requires your device's bootloader to allow flashing the boot image.
On most devices you can somehow flash the boot image by unlocking the bootloader.
For more information about what systemless root is have a look here.

Sometimes the need for a systemless installation of SuperSU is not detected by the installation script, to force this to occur follow the following steps.

Start TWRP 3.0 or higher on the device
Go to Advanced - Terminal
In the terminal, enter echo SYSTEMLESS=true>>/data/.supersu
Press Enter
Exit to the TWRP main menu
Flash the current SuperSU as per normal

When flashing SuperSU, you should see in the TWRP recovery log screen mentions of system-less installation and patching of the boot image.

My ROM is currently already rooted. Do I need to unroot before doing all these?

Guess I am confused... Why do you want systemless root? Some devices require it, others do not... There is no technical advantage of one over the other. But yes, you would have to fully unroot, then do this process. If your on a custom ROM it likely won't work though, have to go back to rom dev, if stock it should provided you are on Marshmallow or newer. Systemless root does not work on older Android versions.

Welp, ok. Guess I'm not able to install systemless root then. My stock ROM is Android 5.1.1, I just need systemless root to hide root form Pokemon Go lol. Thanks for your answer anyway :)

@Yayy Systemless does not hide root from apps... That is done by suhide, rootcloak, or Magisk, but recent changes to SafetyNet (mandatory part of play services) have made it impossible to hide root.

Wow ok, I'm gonna use my Ipad then :D


text:
Does Flash Player work on Android 5 with Firefox 48
I have an Amazon Fire (KFFOWI) with CM12.1 installed and have Firefox as my browser. I have installed the archive flash player 11.1.115.81 but, when I try to use it, all I get is "A plugin is required to display this content".
I've read many things that suggest that it should work but they are probably stale and out of date.
So, as of October 2016, does the Flash player work on Android 5.1 and, if so, how does one get it working?

Firefox for Android won't use the flash player anymore (very early versions did). Some lesser known browsers support flash the way Firefox did (eg. FlashFox)

thanks for that. I ended up installing Dolphin which seems to work.

@GiantTree You should post this as the answer.

Adobe does not support Flash on Android beyond 4.0 but that does not mean that it won't work. The last available version is 11.1 which is not on Google Play so must be sideloaded from the Flash Player Archive.
Flash support in Firefox is being phased out and Chrome also. Other browsers, like Dolphin, continue to support Flash and work with the plugin installed from the archive.


text:
Queries on Android Camera
I know the concepts of camera driver and camera HAL(hardware abstraction layer) but I don't have much idea about the upper layers(camera service and application).
I want to know
1. Who and when is camera service created?
2. Is there a process for camera HAL or it runs in the context of camera service?
Answers w.r.t Qualcomm HAL would be more helpful but if not any HAL is OK for me.

Is there a problem with the camera on your Android device that you are trying to solve?

nopes...just want info...


text:
Battery optimization not selectable in Cyanogenmod 13
I just installed Cyanogenmod 13 and a couple of Google Apps (the OpenGApps Micro Package) on a Nexus 4 mako Device. Trying to disable battery optimization for some apps, I found that in the batter settings screen I cannot select Battery optimization from the action menu. The item is simply not clickable. One can reach the battery optimization screen from Settings -> Apps -> Settings -> battery optimization, too, but then the selector going from not optimized to all apps is not clickable.
Am I missing some dependency or is this a bug? I have recovered some system settings by TitaniumBackup, maybe something was incompatible with CM? (Before, I ran an AOSP marshmallow rom, too).

Also running CM13 on Nexus 4, with the difference being no GAPPS. The 2 entry points you mentioned works just fine here.
Try a clean flash without restoring settings using TiBu - CM uses a slightly different settings provider from AOSP and it might prove incompatible indeed.

Hi, after fiddling around a while I think a clean reflash is the only option. Damn, I hate restoring everything all the time.
Thank you for your comment.

@janoliver Well that's the price to pay if you constantly switch ROMs...

I am not doing that constantly, but yeah. :/


text:
How can I recover deleted photos and videos from vault app
I used vault app to hide some pictures and videos.
I just formatted  my phone after then I re-installed vault and I am unable to find my pictures and videos.
Is there any way to recover my pictures and videos ?

Did you create backup on cloud?

Which "vault app" did you use? There are many slightly different ones. Please [edit] your question to add this information.

Well, I think, you can try some data recovery tools. If your lost photos are not rewritten by other data, with a third party tool-Android Recovery Mac, you can easily recover them.
Step 1: Run Android Photo Recovery Mac and Select Files to Recover
Step 2: Connect Your Android Device to Mac and Start Scanning
Step 3: Recover Deleted Pictures from Android on Mac
ANother : Gihosoft free Android data recovery software is quite good at this field, and their software is for free, you can download it and have a try.

Please link apps / programs mentioned by you in the solution


text:
Error trying to access my tablet from my PC
While trying to transfer files over Wifi from my PC to my Android tablet I use the Files Manager app, which opens a server in my local network with the IP and port http://192.168.0.5:5544.
But when I try to put this address in any browser I get
Error: The connection has timed out.
What is the reason for this ?
Router: ADSL router Netgear DGN3500

Just because a port is open doesn't mean you can access it with anything, I think.

In most cases the communication might be blocked by the firewall, on router or on the PC, confirm if port 5544 is allowed in firewall settings.
Second check if your browser uses proxy settings, which allows traffic on a different port altogether (most VPN softwares usually set up proxy connections). In this case either add the server IP as a local address and allowing bypassing of proxy for local address.
Thirdly check if Network Discovery and file sharing  is enabled on both devices.
Ping and check if addresses are reachable, and set up DNS if needed.
In most cases this should resolve connection timed out or not reachable errors


text:
How to root VIVO V3 and install custom ROM
I want to root my vivo v3 mobile to use it better.
Also want to install recovery like CWM/TWRP.
After that custom ROM like cyanogenmod or any other because it's current UI sucks.
I tried with some apps but that are not effective.
Please give me all possible options.

There simply is none. VIVO locks things down hard, and its target users are not tech-savvy enough to develop recovery and ROM for it.

This claims to root. I never owned Vivo brand so no hands on knowledge

Please specify by editing your question a) which are the apps you tried and failed. Otherwise, someone may suggest same app which didn't work. B) your current OS version

VIVO uses its customized os based on android

DId you try the instructions from here http://www.gogorapid.com/root-vivo-v3/ ? or here http://www.iroot.com/how-to-articles/how-to-root-vivo-x51-y13-and-other-phone.html ?

@esQmo , the first one I tried but failed and the second one doesn't listed my device (VIVO V3)


text:
need to track # of times a video is opened/viewed on a Samsung Galaxy tablet. How?
I work for a company in Africa that works with smallholder farmers. One way that we try to improve our farmers' experiences is through showing them video of agricultural techniques and other subjects. The videos are all put on Samsung Galaxy Tab3 or 4 tablets and shown to the clients in the field. I need to know how many times the video is open and being shown to clients. The current video application we use does not track number of times viewed or open. Does anyone have a suggestions for an app or another way that I can track this? Thanks.

which video application you are using?

I am using a VLC player app

You can use Android secret code *#*#4636#*#* to track the usage time of the video player. While that does not give you the number of times video player has been opened, it should give you a fair indicator of the number of times (= usage / video duration ). The secret code needs to be entered on the dialpad of your telephone app
This app does the same and is an alternate to the secret code - 4636. Screenshot of usage time on my device below. You have options to track usage as shown
( Thanks to OP for highlighting another app App Usage that worked but 4636 didn't)

Thanks for your advice! The tablet I have is a samsung Galaxy Tab 3, can you direct me to where I could find these usage statistics?

or where I go to enter the secret code?

Enter it exactly the way it is

Thanks! The 4636 did not work on my tablet.  But I found a similar application called App usage app that does exactly what you explained above.

Thanks for sharing this input, added that to the answer to help others in future. Continue to use our site


text:
Why don't my adbkey fingerprints match?
When I attempt to connect to my phone via adb it tells me my public key's fingerprint is this:

But on my computer, per this post, my public key's fingerprint is
will@linux:~$ awk '{print $1}' < ~/.android/adbkey.pub | openssl base64 -A -d -a | openssl md5 -c
(stdin)= 3c:be:86:c7:68:f4:36:7f:f9:d7:29:92:2d:d0:3b:0d

which is different, and also much shorter than the fingerprint displayed on the phone (32 characters long vs 64 for the one displayed on the phone). Does android now use a different method of generating the fingerprint than the one in the linked thread?
I'm running android 5.0.1 with adb 1.0.36, revison 7.0.0_r1.
This is the full public key for reference:

QAAAAJXI4EVDPeAUk18A1RBUobHqLB2V+syZaJxs3XDwX9aaIurNRF4gmmVUFo8CLYeteGVta2q/enn4HrSCw5VEJ2V2ByyhN9Obl2jhU3jJtQmiLUUkDOjHriJ7c8WQOfqkq5/DJPpAxIzI3Qlalr6Jrb9SIE0iEoIlNl5xd9tIYQgBcECMHodciV0qG8hlDkY3vXQyMJfNQ5Y1EkPf2eyeRS+h/8kViz1tLbcxoCoBwQehDeaQzCb3ACY8KV4If02i/wWy0La5m5CVvGsGCGZfoU7klPxzYqkA5fGJ03OTWI1SxsIqjwGzM/xlS40Vz6gfCODJxWq6WL5qTJgTusKbx77zJQqwj6nt5cvLOZVxVCIqticF9njcIDr1XIi79JnuBaZfr2X/IX1VJyj30T8npEFyR7IN//pY1knM6YPfmwQ6K2ynFW7id8uUbrxxqKW0aBypzPC9y4vzbFxAaQI3Ck6dpqNjvI4M+BAVPK3PdgEtxwVOU6z//oLUVsygEOtfyl5ttwd2Ni/EcQLp9zIYskwIkETHcBR56G4tv+vuL6qq7lH95IInA8sUjuz3+5daSCXFSfEkXsAobSa1EmYy3gwuBwpO1tLH+wjIH7M2w40KNu4YxRb2TW+YqPGw6c2/l5CdpEdXmCzbRN1ZjtfhEOH+WRTsdAwigx/uw/t5YjFZNj3TMAEAAQA=
  will@linux

With try-and-error (actually on first attempt, which shows it was not pure lack): your fingerprint shown on android device is one that can be created using sha256 hash-function, that is awk '{print $1}' < ~/.android/adbkey.pub | openssl base64 -A -d -a | openssl sha256 -c.
Adb enhanced security (sha256 much better and modern than md5).
$ cat test.pub | openssl base64 -A -d -a |openssl sha256 -c
(stdin)= bc:67:e2:fc:24:0b:69:17:c2:34:cd:16:49:0d:8a:f0:af:d7:28:1a:1e:75:6c:d0:20:65:1f:77:94:a5:0a:53

Check the user ID you run your adb server under. If it's different from will - you would need to compare your fingerprint with the key in that other user's home dir.

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


text:
How does wifi hotspot internally works ?
I have an Android device which has Access Point (Wifi Tethering). What exactly happens when another device connects to this access point ?
Which are the classes or libraries (if any) involved in whole process ?
P.S - I have searched for answers on internet but no success so far.
TIA

Is this purely for educational purposes, or is there a problem you are trying to solve?

this is for educational purpose. Just eager to know the internal workings of wifi hotspot.
There is no documentation available for this and hence I did shot my question here :)

This site is not really suited for such questions, since it's tailored to solving problems related to using Android devices.  I would recommend stackoverflow.com instead.

android.stackexchange.com says "Android Enthusiasts", so I guess its fine to ask this question here. Stackoverflow is for solving "code" related issues.  Pardon me if I am wrong.
Can you please help me with the answer of my question ?

If you still feel that this question does not fit here, please let me know, I will delete it. :)


text:
Cracked Screen CM13 Rooted VNC
I cracked the screen on my LG G3 running CM13. It's rooted but I can't get to a adb root shell because ADB root is not enabled by default. I want to clean up some stuff and VNC is my best bet. I installed VNC Droid Server but I can't click on Start to get it started. Instructions here require root over adb to start the vncserver manually.
Does anybody know how I can get a VNC server started on Android 6.0 without the ability to touch the screen?

Vysor is the answer! It's a Chrome app with a built-in VNC server that launches automatically. It even works on Android 6+. Find it here.


text:
Change Google Play password without changing Google Account password
Is this possible? I want to just change my Google Play password without changing my password for every other Google product.
Basically I want to allow a friend to log-in to some of my mobile game accounts, but not give them access to my entire gmail/google account..

That isn't possible, Google Play is tied to your Google account, so changing your password affected all Google products you're signed into.

The google ecosystem is meant to work across the board. Any change you make to any google service you're linked to spread across the board to all other services. Fun note: I read about a guy who for fun changed his YouTube name (to something obscene and embarrassing )and later on sent an email to his work mates and family only for him to later notice his name on email had changed to the new obscene name. context-> it takes sometime for this change to be effected across other services

Quick Answer: No
Your Google Play store account is tied to your Google Account if you'd like to share it with someone you'll have to share your Google Account. There is no such thing as a Google Play store account only a Google Account.


text:
Help - Acces to phone taken over
I have an LG Stylo 2 or LG775 and people from my house are hacked into my phone please help me!

Click on Image to enlarge

What exactly are the pictures supposed to represent, are they not your devices? If not, go to mail.google.com (browser) and sign out all other sessions, change your Google account password, and turn on 2-step authentication. Problem solved.

The problem is they have my old phone and I changed my passwords plenty of times on Google and Facebook they keep getting back in and logging me out

Oh and the pic of the computer is not mine

Did you enable 2-step authentication? I don't know they could be logging in and changing anything without the verification code

Change your password for your Google account and add another verification method onto your account.


text:
How do I change the stock firmware in Samsung Galaxy S3 Neo to higher than 4.4 KitKat without rooting?
My Samsung Galaxy S3 Neo has Android Kitkat. Is there a way to upgrade (without rooting the phone) to a newer version?

Quite simply, no. Samsung support ends at KitKat due to its age.
There does seem to be official CyanogenMod 12.1 (Android 5.1.1) and even unofficial ResurrectionRemix (Android 6.0.1) available, but you will need root and/or recovery to flash them, so I'll not go into details.


text:
Can we see what apps are logged in?
I think that the question is different to What Apps Are Running, I want to know what apps are logged in.
I discovered that couchsurfing, despite not using it for months was logged in, eBay was, likely others. I don't particularly want them collecting data.
Short of opening each app and checking, is there a system way to do this?

See this answer for a more versatile app

I am not aware of system level approach but this app gives you a view OS Monitor. There may be other apps too

It offers the following information.

Processes - monitor all processes.
Connections - display every network connection.
Misc - monitor battery, processors, network interfaces and file system.
Messages - search dmesg or logcat in real-time.

Snapshot from the app on my device below


text:
How do I export my Google Fit data to iPhone and keep it in sync in the future?
I have used Google Fit on my Android phone for a while, and recently switched to the iPhone. How do I import my step counts and other fitness data into Apple Health on the iPhone from Google Fit?
Are there cross-platform cloud services that store this data in the cloud and have both iOS and Android clients so that I don't have this problem again the next time I switch phones?
I posted the same question on apple.stackexchange.com to get answers from iOS users.

To answer the first part of your question - the Android part:
You export your Google Fit data by going to Google Takeout.  It is not exported from within the Fit app itself.
Takeout is part of Google's Data Liberation project.  It enables you to download a copy of your data held by Google and attached to your Google account.
The Fit data can be downloaded in TCX or CSV format.


text:
/system has self-destructed by itself
Posting on behalf of a friend. He is a little bit insane.
Last night, I turned my phone off after listening to music. This morning, i turn it to receive the heart-warming message 'Please install an Operating system.' I thought that I could just flash my TWRP Backup - Recovery still works - but It does not work. I can't even detect the device on ODIN/Heimdall.
Help? I am No longer rooted (since /system has emptied itself)

I take it your friend is using a Samsung Galaxy j5. Samsung does not supply their phones with fastboot, but you can use heimdall instead to install CWM and go from there. Google "heimdall install CWM" for more. Other than that, you might even get Odin working and do the standard procedure from there.

@ionree Heimdall does not see it. Would've tried your method already otherwise (seen it before somewhere)

Just to make sure, you did put your phone in Download mode?

@ionree Yep. Blue background, info in the corner, ODIN MODE up top. Other than the blue background (it's usually black) its Download modr in all its glory

Okay, you have some hope left. I'm pretty sure I dealt with the same issue before on a Samsung device using Odin to flash CWM (you might find an Odin version of TWRP as well), enabling USB mass storage from within the recovery, copying the OS onto the device and flashing it. Also, heimdall should work. It's a bit janky sometimes as you have to manually install the libusb driver, maybe try again on a different USB port and make sure you are installing the driver to the correct device.


text:
How decrease font or make text readable in Android Chrome?
Output in Android Chrome where you see classroom not visible in timetable, but I see it with my PC.
Portrait and landscape views have the same problem.
Fig. 1 Landscape view

Phone: Oneplus 2.
OS: OxygenOS 3.1.

Options inherent to Chrome

By Scaling the text size to make it readable

Menu (upper right corner) → Settings →Accessibility option → Text Scaling
Of course, you may need to resize the text for other sites of text is too small for comfort

By enabling Force Zoom -  useful if zoom by pinching is disabled

Enabling Desk Top mode may also help pinch to zoom from Settings → Request desktop site. Related How to make Google Chrome definitely remain as the desktop version?

Text scaling does not take immediate effect. Not after reloading neither. - - How does it behave in your phone?

It works immediately on applying on my device. I had tested and posted the answer. I am on Chrome 53.0.2785.124 Android 6.0.1. I don't know if it is related to the ROM that it is not working your case.// What about desktop mode?

No. Desktop does not help. My version is 53.0.2xxx.124. same as yours. I sent a ticket about the problem to google.

On second thoughts, is the font size not changing on any other site? Or particular to your work site? If it works for  other sites but not for work site, it means that your work site is not designed to render properly on mobile devices and it is not the fault of Chrome and you would need to check with the owners of the site. I have checked on multiple sites and it works fine , so I suspect it is the issue with the site

No, the problem is not with the site. I still see all sites in the same font size although I have 50% font scaling.

I see. This is the designed feature of Chrome and with the same version of Chrome if you can't change and I can, it probably some other problem (OS?) . You may consider accepting the answer, to help others in future, while you raised a ticket. Searching in OS forums may also help find reason or you can raise a ticket there too


text:
Apply google password change to android
I've recently changed my google account password on my PC. My phone/android then started prompting me for my google password but I've been having trouble in that the password isn't working, it then said something about needing to log in from a browser instead which also had trouble. The prompt now seems to have disappeared so I've rebooted but still no prompt yet.
It's obvious android detected the password change but now something has gone wrong. Is there a way I can manually fix this? I've briefly seen something about removing the account but that warns that all messages, contacts etc will be removed which doesn't quite seem like the best way to go about it...

Is everything working? If so, it took the password change successfully even though it didn't tell you what you expected. If it's not working, yes delete and add Google Acct, it will delete items specific to your Google account, most of which are stored server side anyway, don't let the warning scare you too much, it won't erase text messages or anything like that.

It seems to be, I'm still logged in to everything, play store, gmail, etc. The password prompt was weird and seemed like it wasn't working, perhaps it still did take the change, would there be someway of confirming?

Sync something... make a change to contact or send/recieve an email via Gmail, if it works then the password change took. Pretty simple actually.

Sending mail from gmail works ok. Under my accounts it's says Sync disabled and I think it's because I set one or two apps to not sync automatically at some point but it looks as though sync has been disabled completely. How do I enable sync again and how do I disable individual apps from syncing?


text:
how to solve screen not functioning properly
how to solve screen not functioning properly
my phone is Tecno L8, and some parts of the screen are not responding to touch.
and its also popping up things not pressed.
how do i solve this error

Your digitizer is likely broken. You can either send it back to the original manufacturer for repair or find a third party source that can do it for you.
You may just want to consider replacing the phone.


text:
Network usage : How to monitor by time
I'm looking for a way that tracks network usage by type. I'd like something that at the end of the day says "8h 20min on 3G, 3h under WiFi network".
I've searched a lot but didn't find anything (there are tons of apps that tracks megabytes exchanged, but this is not my interest).
Is there a technical problem behind (i.e. lack of system APIs)?

App recommendations are off topic and is reason for closure. Since you have also awarded a bounty for it , I have taken the liberty of editing your question to avoid specific app recommendations. If that is not agreeable, please roll back to the original version

@Surfer on the fall, you could try https://softwarerecs.stackexchange.com/ If you are looking for a specific app recommendation...

I don't think there is a technical difficulty in gathering such information. Lack of such apps is likely because of lack of demand. For an average user, it is not the time that is important but the data used while on a plan or roaming and hence an abundance of such apps
I am not aware if the information you seek can be pulled from Android OS requiring programming skill . There is an open source app Network Monitor, which can help you. It doesn't directly give you what you want, but information can easily be extracted.  App has been updated last month. Extract from app description:

Network Monitor is a diagnostic tool which periodically tests your network connection and logs the results to a database on the phone....It also logs other information about your device and connection status, such as:
  The network type (WiFi, mobile/EDGE, mobile/HSPA, etc)

It offers a rich selection of features to log and display. This solution shows minimum settings required to achieve your goal :

Network Settings →  Enable Service ( Enable / disable as required per duration of monitoring)
Network Settings →  Log frequency can be varied from 1/2 sec to 1 hour , depending on the accuracy you need
Advanced Options → Fields to monitor - offers 50 + fields. Basic fields needed would be :

Timestamp
Network Type
Is connected

You can view the log file with these settings as shown in the screenshot below

Log file can be exported ( mail it yourself) in several formats (Excel, CSV, HTML, KML, Gnuplot the raw database) , for further analysis. Excel would be the obvious choice.

You can filter the Network Type and Is connected =1 ( to avoid disconnected times ), say for WiFi
Use the count function of Excel and multiply it with log frequency ( i.e, time) to arrive at total time and convert it to hh:mm format  - my Excel is rusty, there should be better ways :)
Repeat for mobile data


text:
How to capture downloading address of downloading file?
I am downloading the file in PC browser so I can easily capture the download link by entering into Downloads Tab & click "copy link address"
In Android, I know by long press on Download button, it gives menu so I can use "copy link address" to capture the address.
but not all sites display download address in Download tab, I mean Link address of download button & downloading file are not same.
so How to capture downloading address in androids OS?
Android OS is 4.2.2
Browser: chrome 30.0.1599.82

@OP You can try some Download Managers like ADM which can capture download links..

Better choice for you is try to install third-party download manager, I recommend Loader Droid https://play.google.com/store/apps/details?id=org.zloy.android.downloader

Loader Droid capture links by Share menu

I installed it, but it is not catching downloads like IDM does?

You should be able to press and hold on the download button, then press "copy link address" or something similar to that.


text:
APN settings vanish after some time of LTE data usage and only return on restarting phone
I am using OnePlus 3 and Reliance Jio sim. Android version 6.0.1.
I am able to use 4g data via the sim. Major access point name settings that I get by default from the network:
APN: jionet
mcc: 405
mnc: 864

It works perfectly for upto 20-30 minutes. After which, my phone can not connect to the 4g network anymore. On further inspection, I go to the APN settings page and get the following message,

Access Point Name settings are not available for this user.

When I try to manually add these settings and click on the save button, the APN settings dont actually get saved and I still get

Access Point Name settings are not available for this user.

I need to restart the phone to connect to 4G again, and after 20-30 minutes, the cycle repeats.


text:
Lenovo A916 cannot unlock bootloader
My PC OS is Gentoo Linux with Kernel version 4.4.21.
I'm followed these steps:

adb reboot bootloader
fastboot oem unlock

And after this, message pops up "... press Volume+ to continue, and Volume- to cancel", if i press "Volume+" button, nothing happens, and if i press "Volume-" button, operation cancels.
What i should do to fix it?
Or there are another way to unlock bootloader?

Try these commands:

adb reboot bootloader

Wait for your PC to install fastboot drivers for the device then

Check if device is detecting in fastboot mode
fastboot devices
If device is detected use the following command to unlock bootloader:
fastboot oem unlock

Follow the screen instructions and after unlocking reboot the device using the command:
fastboot reboot
Hope It will work for you.
Note: Unlocking bootloader will erase entire data.

Did you not see that he had already tried those? He just couldn't respond to the onscreen instructions.

@AndyYan Can't you see I suggested different commands. He was using adb oem unlock in fastboot which won't work. I have used fastboot command for oem unlock. Please read it carefully before replying.

I'm pretty sure he mistyped, since adb commands won't get response in fastboot, or else he wouldn't get the confirmation screen.


text:
HTC one e8 Stuck at htc logo
it wil only startup after a factory restart but after a second it says com.android.settings stopped. after that i cant reach any app because of the black background after a minute it turns itself into the HTC one logo screen. i tried several ROM updates they all didnt work it gave error 155.

did you try flashing a suitable RUU? Boot your phone in Fastboot mode then flah the RUU file.
[For mods: there is no way to put a comments in the Android app. I can only comment on my own answer.- Please move this comment]

Same error. maybe the wrong ruu update? This one is for my phone http://www.htc.com/us/support/htc-one-e8-sprint/news/

htc_fastboot devices

FA49BSP02662 fastboothtc_fastboot finished. total time: 0.193s

htc_fastboot -s FA49BSP02662 getvar boot-mode

the last 6 sentences  of the last log of the ruu update^

Hummm;;; I see no error from the log. Does the flashing process succeed? what happens when you run the RUU? May be an hardware issue, probably the eMMC got corrupted or something


text:
by MISTICALLY DELETED /FORMATTED MY SAM SUNG GTI8262 MY OS
I am using a Samsung Galaxy GTi8262 mobile. I'm trying to update it from 4.1.2 to 5.0 manually via Odin 3.
I entered ClockworkMod recovery mode and installed Lolipop ROM 5.0 (provided by vaibhav and rempz company), and it installed successfully. My device works well except for one thing: when I start my phone there's a yellow triangle on screen (and the brand/model of my mobile), and cant go further.
I try to fix this problem by removing the battery, but it does not work. So finally again I entered CWM by pressing power + home + vol up buttons, and by mistake I deleted/formatted my System. Now my mobile only shows "Samsung" on screen.
Please help me: How can I solve this issue and get my device working again?

Shivam, you were not meant to simply copy/paste your deleted post but also apply some formatting. It's really hard to read – which explains the down-votes.

There's no official update past 4.1.2 for said device, as listed on SamMobile. You've most definitely flashed something not for your device, which in turn caused the yellow triangle. Where did you find the update file you mentioned?

Flash a stock firmware, everything should be fine. Head here and download the firmware for your country/region


text:
Is it possible to always map volume buttons to media volume?
I don't use alarm or ring volume. I use vibrations for those, their sound is always always muted, unless I unmuted them by accident.
Sometimes I do want to control media volume when I'm not actually playing any media.
I am aware the same question exists for another phone, but it's 5 years old. A lot has changed since then.
Since I use a Nexus 6P running stock Android (Nougat), I'm willing to accept answers that apply only to this specific situation as well.
I haven't rooted my device, so I won't accept any answers requiring that. I do encourage to post answers specificly for rooted devices, so others can find it anyway.

Changing media volume to a fixed level of your choice is possible,

You can use Tasker in combination with AutoInput plugin. AutoInput can block the system default set to Volume rockers and instead execute your own action. With Tasker you can set it to change media volume.


text:
Rooting an asus tablet
I have tried rooting my asus anpad but failed to unlock it's dastoor drivers. is there any process to unlock it or any other method to root asus zenpad. How can any asus zenpad z370cg tablet be rooted?

ASUS no longer seems to supply fastboot unlocking for newer Zen devices, and unless an unofficial method comes out (which is unlikely considering your device's popularity), you can't just go into bootloader and unlock it.

Have you tried KingRoot.  I don't own that particular tablet, but I know that many devices can be rooted with the KingRoot program. You could also try looking at XDA-Dev's site as they tend to have a list of tools for each particular devices.  Hope this helps!


text:
How to sync Hotmail contacts in both directions?
I have to use Hotmail, not Gmail, as I primarily use Outlook on a PC, and Gmail provides no (free) Outlook sync method for contacts and calendars. With iPhone, you just add your Hotmail account and it syncs your contacts both ways seamlessly.
Now I have a Google Nexus 6 on Android 6, I can't find any way to do this. I have tried the following:

Add Hotmail as an exchange account
This puts your Hotmail contacts into the Android phone app. This is HALF the job. However, if you edit a contact, it does not sync back to Hotmail.  The edit is local to the phone. If you lose your phone, you lose the number.
Note: to get this to work, you have to create a manual setup, chose Exchange, then set the server to m.hotmail.com.
So I removed the account and went back to zero contacts in the Android phone app.

Install the Outlook app and add a Hotmail account
Next, I installed the Outlook app and added my Hotmail account. Your contacts are visible in the people tab of Outlook, but you can't edit them or add new ones.
It also adds an Android account called "Outlook", and puts your Hotmail contacts in the Android phone app. Great, no? NO. Again, if you edit a contact, it stays on the phone, the sync is one way. Even worse, if you add a new contact as a Hotmail contact, it does not sync anywhere.

Am I missing something, or is Outlook/Hotmail on Android completely broken/only half-implemented?
Surely there is someone who uses Outlook on a PC and has an Android phone, and needs to sync contacts two ways, something I have been doing without issue for the last 10 years with Windows CE phones and iPhones?
=== Update ===
Recently, MS "upgraded" Hotmail to use exchange protocols for synchronization, rather than the Hotmail connector, so I decided to dust off the Nexus and try again.

Start off with no contacts in the phone app, Outlook for Android installed with no accounts

Add hotmail.com email as an Exchange account in Outlook for Android

Wait

Now I see

all my contacts in Outlook for Android, but they are not editable, they are read-only. If I change a contact in Outlook on my desktop, I see the change in Outlook for Android. But no way to get changes or new contacts back the other way. Unfortunately, contacts in Outlook for Android are largely useless as I don't use email on my phone and would rarely use Outlook for Android, I only installed it to try to get contacts to sync. I need the contacts in the phone's phone book.

all my contacts appear on the Android phone app, but it's one-way sync only. If I change a contact on the phone, the change is not reflected or saved anywhere.  If I add a new contact, it's not synced or saved anywhere.  If I updated a contact on the PC or in the Hotmail web browser, this change is synced back to the phone, overwriting any changes I have made to an existing contact on the phone.  Contacts are correctly marked as belonging to the Hotmail/Exchange account.

Alternatively I would download a third party contacts app and check whether they support it

You didn't write explicitly that "sync contacts" is turned on, but I assume it is. If it is, well then you don't really have an alternative other than contacting Microsoft support, send them a mail and ask - if you don't get an answer by anyone else that is. I would be surprised if this function isn't implemented.

Thanks WhatIf.   Yes, "sync contacts" is on, and they update to the phone, but not back.  I have not been able to find out in my months of research if this feature is implemented.  Opinion is split: some say it is, some say it isnt. MS have not ventured to answer the posts on the subject.

By default, contacts does not sync when you are on metered connection (Mobile Data). Try to connect to Wifi and the contact should sync back to outlook.com. At least they did in my case.

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


text:
What is persist.security.ams.enforcing?
I have a galaxy s6 and was looking to install custom roms. Unfortunately, when I successfully install a custom Rom, it doesn't boot up. So I looked online and one website said something about Seandroid enforcing issues. So when I went to default prop.l, I found that line of code. The value is set to 1. What happens if I disable it and is it interfering with the kernel or Rom flashing? I also got rid of all the Knox apps too.
So what exactly is persist.security.ams.enforcing?

persist.security.ams.enforcing

It's the bane of existence. While this is Set to 1, your SELinux state is enforcing(Click here for a snippet of info)
Changing that to 0 switches SELinux to permissive.
In layman terms, this means that, when set to Enforcing, Android is looking at your attempts to install a ROM, and is denying them. Set it to permissive, and it can't do anything(well, not much).
SELinux does more than this too. Its a good read, that question I linked has some good info, as well as the link in that one.

So is that why I haven't been able to get my custom roms loading? Also, I just disabled it by switching the value to 0 but it keeps switching to 1 when I boot up! How do you permanently disable it? Also, is there anything else in the build.prop that I should disable before flashing a custom rom?

@RyanNoles use 'setenforce' (no quote marks) in a terminal to view what to do to change your SELinux status. Also, Most Custom ROMS tweak the build.prop themselves, so I doubt other tweaks are needed. I never had to tweak mine for Custom ROMS.

I think I figured it out! According to one post, one guy said he was having trouble installing the Xposed and getting it to boot up because Android SElinux is set to enforce by default! Maybe if I permanently disable SEandroid enforcing, I might be able to get Xposed to work! I will try your option (the sentenforce technique) and see what happens! I was really wanting Xposed but couldn't get it because of my crappy odexed touchwiz rom

@RyanNoles alright. Good luck!

It did not work! No matter how hard I try, I can't disable SElinux in my kernel!!! I even tried it with a terminal but no luck! Do you think there is a hidden knox setting in my phone? I thought I removed all the knox apps, but I am still seeing info of the knox versions in the settings/about phone!

No idea, to be fair. The kernel might be switching it back on, but I don't have a S6 To experiment. All I can say is: Google?


text:
Android as rubber ducky
Watching Mr Robot I came across a small device called a rubber ducky. It simulates a keyboard and executes a given list of commands, like keystrokes and such.
Now that I am too cheap to buy a real one and none of my USB sticks are capable of having their bootloader reflashed to turn them into one, I thought, since you could use your android as a USB keyboard, wouldn't it be possible to use it as a rubber ducky as well?
I have tried the droidducky script (http://zx.rs/6/DroidDucky---Can-an-Android-quack-like-a-duck/), but without luck...
Are there any alternatives?

rocket_doge_

Using an Android device as a rubber ducky is possible, but setting it up can be difficult. Your device most likely doesn't work with the payload because it is not rooted and/or doesn't support HID keyboard output at kernel level. If there is no support for HID, this can be fixed by flashing a kernel which does support this, however the number of supported devices isn't exactly huge, meaning you would have to edit, compile and flash the kernel by yourself.
You can see the exact procedure here: https://github.com/plowsec/android-ducky
Here is a list of devices which already have compiled kernels (it is accessible from the first one, though): https://github.com/pelya/android-keyboard-gadget

it's 2 years later, any updates?


text:
How do I get Google Play back on my phone?
A can of worms were opened all because I was logged out of Snapchat. I got new a phone about a month ago called the Samsung Galaxy A9 Pro. It was only sold in China and Hong Kong. When I got it it worked like anyone other Android phone, but it came with root already on it with some program called Team Win Resource Project. After discovering it had root, I got some rooted apps for it. Then, a friend wanted to log on Snapchat so he logged me out but he couldn't log on. I tried to log on and it still wouldn't work. Eventually I discovered I couldn't log on because I modified the root folder. So I tried to unroot it with SuperSU and that took me to the TWRP screen after I rebooted it. I didn't know how to get past that screen, but a video I watched showed me how to fix it (or so I thought) by installing the original firmware. After doing so, I didn't have any Google services and the play store was replaced by the Samsung store. I tried installing the Google Play store with the play services and play services framework, which only slowed down my phone ("unfortunately, play services/play services framework stopped working"). I uninstalled all play services and now I have absolutely no clue what to do or where to go to get Google Play back. Please help me.

TWRP is there because A9 Pro isn't supposed to have Google Apps preinstalled, therefore the previous owner installed it so that he could install Google Apps through it. You will either need root or TWRP to install GAPPS properly - just installing it within the OS won't work. Also, how come Snapchat would not work just because the device is rooted?

Try google play installer apk. It will hep android phones to install gapps.

What "Google play installer" are you talking of? Could you provide any link? I've never heard of such a tool. Usually, GApps are installed by flashing their archive – if they don't come pre-installed already, that is.

1)For getting store again , you can simply restore your mobile phone, thats the one solution.
2)Download play store apk file from google store and install it.

how to do that? and 2) Unlikely. As Andy already pointed out in his comment on the question itself, that won't work. It's a) a system app and b) needs to be flashed with the GApps package usually.


text:
"Insuficient Storage" when there is space available in the SD card
I have recently installed a 32 GB SD card on my Android phone. I moved all my apps to it, and they only fill 600 MB of it. I have 152MB available on my Internal storage.
With all this space available, every time I try to install a new app (even if it is really small) I get an error saying that I have to remove unused apps, along with a list of apps suggested for removal. I have already tried to clean the cache, and it didn't help.
Any suggestions?

Welcome to Android Enthusiasts! That's a question asked here very frequently. Have you already checked with our insufficient-memory tag-wiki, where we've set up some first aid? What of its solutions have you tried, and how did they fail? As that wiki states, size of your external SD card is irrelevant here. That's all about "internal storage". So if those hints in the wiki don't solve your issue, please [edit] your question and include details on the overall size of your internal storage.

You need at least 500MB of free space in internal storage to install apps.

Says who? That would be valid if your internal storage is 5 GB overall. OP didn't specify how big internal storage of the device in question is.


text:
Possible to quickly expire a fingerprint?
Let's say I wanted to quickly prevent my fingerprint from unlocking my phone; so that the next time the lock screen shows, a password is required. Is there a way to expire the fingerprint unlock session right away?
I tried searching but didn't find much quickly.
Edit: Thank you for posting the answer How can I limit the number of fingerprint attempts before fallback to other login type?. That is helpful information (in that it eliminates one potential answer). But, I don't really want to change the number of attempts. I want to make the phone temporarily not accept the fingerprint. I don't want it to forget the print, I don't (strictly speaking) want to change the number of allowed attempts. I want to tell the phone "Hey, next time you unlock, require the password".

Possible duplicate of How can I limit the number of fingerprint attempts before fallback to other login type?

Well, I don't strictly want to limit the # of attempts. I want to expire the session. I was just thinking that changing the # of allowed attempts was one mechanism to get there.

As pointed out in the other answer, it is time limited as per the documentation. I haven't heard of a way doing either - reducing time or attempts. That of course doesn't mean I am right

You may consider editing your question so that it doesn't get closed as duplicate. As it stands,  duplicate flag seems valid

Thanks beeshyams. The answer you dug up was helpful (but disappointing). I appreciate it. I edited the question (by deletion) to capture my real intent.


text:
Cannot move apps to SD Card
I own a Motorola Moto G 3rd generation upgraded to Marshmallow with an SD card plugged in (formatted as internal storage) and I am not able to get the apps to install there. I tried app2sd and I am able to relocate some of them but the sheer amount of the ones I cannot has filled my telephone's internal storage to the brim. I know that I could solve it by rooting the phone ( it's risky and warranty is voided), however I was looking for another way.

There is no other way unless you void your warranty.. Change the ROM to any custom ROMs it will solve the problem.

I'm not that sure that really any custom ROM supports moving apps to SD. The only "sure" answer I'm aware of is rooting and using an app like link2sd (there are a few apps of that category). Though I'm not sure how that works with adoptable-storage (OP indicated to use that option).


text:
Cannot sync or remove Google accounts
I'm on Android 5.0.1. Yesterday, I received several "Unfortunately, Google Play services has stopped working" notifications, which I ignored as I assumed whatever had crashed would restart.
But when I went into my Gmail app later, instead of seeing my inbox, I was asked to add a new account. Then, I checked Accounts in settings, and my two accounts were still there, but would not sync. When I try to remove the accounts, nothing happens (i.e., I press the "Remove account" button, and the phone simply does nothing).
I can connect to the internet consistently. However, it seems I am not receiving push notifications from any apps, including non-Google ones like Facebook messenger. And I cannot open other Google apps, e.g. Play Store (when I try to, I'm met with a blank white screen).
Any help solving this mess would be much obliged!

Have you restarted your device?

Yes, several times. No dice.

Tried to clear cache of "all things related" (note: cache, i.e. no data lost) – playstore app, gmail, play services, etc? Maybe even complitely ditch all cache (e.g. booting to recovery, selecting to "wipe cache")?

Just ditched all cache, and still the problem persists. :(


text:
Phone runs out of memory; reboots
Phone is an Alcatel Pixi 4 4034 (which has 512MB RAM).  For various reasons, I've ended up with an unofficial Cyanogenmod 13 port on it.  The problem I have is that the phone periodically slows down and crashes, apparently hanging for a couple of seconds then rebooting.
Doing a bit of digging in the logs, I've found that it's running out of memory immediately prior to the crashes.  I get lots of messages about the ActivityManager terminating various processes, but it clearly isn't enough because when I managed to connect adb during the reboot, I managed to get the following smoking gun from adb shell dmesg:
[ 4784.206692]  (3)[181:logd.klogd]Out of memory: Kill process 28595 (ndroid.systemui) score 0 or sacrifice child
[ 4784.206715]  (3)[181:logd.klogd]Killed process 28595 (ndroid.systemui) total-vm:761596kB, anon-rss:8552kB, file-rss:0kB

This seems to be the root cause of the reboot: systemui is an essential service, and terminating it is going to cause the reboot, and indeed moments later I see:
[ 4784.439624]  (0)[1:init]init: Starting service 'bootanim'...

Any suggestions how I can prevent this from occurring?  Why is the low memory killer not able to prevent the failure before it happens?

I had a similar issue here. From what I gather, Android can hit a bit of a wall and not know what to do when it runs out of memory (more commonly with custom ROMS) Android does not cope with it, and can 'wedge' itself, which is a 30 second -5 minute system wide ANR that ends in a reboot. Either that, or Android's memory manager is targeting the zygote process, which begins a quick reboot.


text:
How do I unlock my device for KIES?
I've got the latest version of KIES installed for a Samsung Galaxy S5 (Verizon).  Currently on the June patch level for Android 6.0.1 (and want to use KIES to update to the September patch level).  However, whenever I connect my phone, KIES says "The connected device is locked - Please enter password on the connected device".  I don't see anywhere to enter a connection password on the device.  I'm in the menu, I can run apps, so I'm already past the screenlock password.  What exactly do I need to do for KIES to be allowed access?

Try this
On your phone go to settings > developer options > USB configuration > and enable USB debugging
To enable developer options, go to settings > about phone > and tap on the build number seven times.
(Make sure the phone is unplugged from the computer)
Plug the phone in, pull down the shade from the top, and select the USB options button.  Hit that, select software install.


text:
Android 7.0 - Torch Will Not Work With Camera
I have a Nexus 5X running Android 7.0. Every few months I have to photograph some meters that are in a dark location. These used to be read manually with a torch but now I have to submit photographs. I used to turn on the Nexus torch and take photographs without flash. This worked well but since a recent update of the camera app the torch goes out when I turn the camera on. Using flash generates glare and unclear photographs. Is there any way around this? Trying to hold an additional torch is proving near impossible because of the awkward access.

At the moment I am getting around it by taking short video clips as the torch then stays on. This seems to highlight a general problem in that Apps get updated and if there is an issue you cannot go back to the previous version as far as I can tell. Previously I have back ported on Linux and this is what is really needed...


text:
LG K120 - removing frp with fastboot
I found a LG K120 (LG Spree in US,LG K4 in Europe), after wiping it, in the setup process it asks me for the previous google acount (FRP).
After searching a lot of this model, none of the bypass google account solutions are valid.
I am trying now reinstalling the whole operating system via fastboot, but as the model is very new, there is no implementation (or at least, I'm not able to find it).
The only solution that comes to me is to wipe the frp partion, in HTC is located in /dev/block/bootdevice/by-name/frp, but I don't know which of the listed below is related with frp.
#fastboot getvar all

(bootloader)    max-download-size: 0x8000000
(bootloader)    partition-size:flashinfo: 1000000
(bootloader)    partition-type:flashinfo: raw data
(bootloader)    partition-size:userdata: 32000000
(bootloader)    partition-type:userdata: ext4
(bootloader)    partition-size:cache: c800000
(bootloader)    partition-type:cache: ext4
(bootloader)    partition-size:system: 9a000000
(bootloader)    partition-type:system: ext4
(bootloader)    partition-size:nvdata: 2100000
(bootloader)    partition-type:nvdata: ext4
(bootloader)    partition-size:efuse: 80000
(bootloader)    partition-type:efuse: raw data
(bootloader)    partition-size:persist: 3000000
(bootloader)    partition-type:persist: ext4
(bootloader)    partition-size:factory: 1400000
(bootloader)    partition-type:factory: raw data
(bootloader)    partition-size:rct: 100000
(bootloader)    partition-type:rct: raw data
(bootloader)    partition-size:cust: 6400000
(bootloader)    partition-type:cust: raw data
(bootloader)    partition-size:lgfota: a00000
(bootloader)    partition-type:lgfota: raw data
(bootloader)    partition-size:persistent: 200000
(bootloader)    partition-type:persistent: raw data
(bootloader)    partition-size:mpt: 1600000
(bootloader)    partition-type:mpt: raw data
(bootloader)    partition-size:persist_lg: 800000
(bootloader)    partition-type:persist_lg: raw data
(bootloader)    partition-size:encrypt: 80000
(bootloader)    partition-type:encrypt: raw data
(bootloader)    partition-size:eksst: 80000
(bootloader)    partition-type:eksst: raw data
(bootloader)    partition-size:tee2: 500000
(bootloader)    partition-type:tee2: raw data
(bootloader)    partition-size:tee1: 500000
(bootloader)    partition-type:tee1: raw data
(bootloader)    partition-size:keystore: 800000
(bootloader)    partition-type:keystore: raw data
(bootloader)    partition-size:secro: 600000
(bootloader)    partition-type:secro: raw data
(bootloader)    partition-size:oemkeystore: 200000
(bootloader)    partition-type:oemkeystore: raw data
(bootloader)    partition-size:seccfg: 80000
(bootloader)    partition-type:seccfg: raw data
(bootloader)    partition-size:expdb: a00000
(bootloader)    partition-type:expdb: raw data
(bootloader)    partition-size:lo_bak_go: 800000
(bootloader)    partition-type:lo_bak_go: raw data
(bootloader)    partition-size:logo: 800000
(bootloader)    partition-type:logo: raw data
(bootloader)    partition-size:recovery: 1000000
(bootloader)    partition-type:recovery: raw data
(bootloader)    partition-size:boot: 1000000
(bootloader)    partition-type:boot: raw data
(bootloader)    partition-size:para: 80000
(bootloader)    partition-type:para: raw data
(bootloader)    partition-size:laf: 1000000
(bootloader)    partition-type:laf: raw data
(bootloader)    partition-size:lkbak: 80000
(bootloader)    partition-type:lkbak: raw data
(bootloader)    partition-size:lk: 80000
(bootloader)    partition-type:lk: raw data
(bootloader)    partition-size:protect2: a00000
(bootloader)    partition-type:protect2: ext4
(bootloader)    partition-size:protect1: a00000
(bootloader)    partition-type:protect1: ext4
(bootloader)    partition-size:nvram: 500000
(bootloader)    partition-type:nvram: raw data
(bootloader)    partition-size:ftm: 800000
(bootloader)    partition-type:ftm: raw data
(bootloader)    partition-size:misc2: 800000
(bootloader)    partition-type:misc2: raw data
(bootloader)    partition-size:proinfo: 300000
(bootloader)    partition-type:proinfo: raw data
(bootloader)    partition-size:preloader: 40000
(bootloader)    partition-type:preloader: raw data
(bootloader)    warranty: no
(bootloader)    unlocked: yes
(bootloader)    secure: no
(bootloader)    kernel: lk
(bootloader)    product: MUSE6735M_E1LTE_L
(bootloader)    version: 0.5
all: Done!!
finished. total time: 0.013s

¿Can anyone give me an idea?
Another problem than I am facing is when trying to erase a partition y get the following.
# fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
FAILED (remote: unknown command)
finished. total time: 0.002s

And the same answer with many other commands, it seems that LG has implemented a very reduced set of fastboot protocol commands.
To overcome this, flashing the partition with zero's file can do de job, that is my guess.
Thanks for your help.

Have you tried wiping and restoring the partition table?

Did you try THIS guide from XDA Developers? Or you'll need a tool named Z3X Box LG Activation (Paid tool)

Does not work for LG K120

Can you point to some relatet tutorial or extend your answer. Basically, I don't know how to wipe and restore the partition table.

But this tool works for your phone model. you'll meed to flash the phone and use the above mentioned tool to remove the FRP

Thanks, but the tool costs more than the mobile, and it is por personal use.


text:
Error retrieving information from server [DF-CHARTA-01}
I am getting this message when trying to get onto Google Play store. What does this mean and how can I correct this?

Are you by any chance using a G Suite (formerly known as Google Apps for Work and Google Apps for Education) account?

You can watch this video and most probably is your fix. https://www.youtube.com/watch?v=jCxt_DnmOQo

It looks like this error is related to G Suite (formerly known as Google Apps).  Your account administrator most likely disabled Play Store recently.  If you are not an admin and cannot ask the admins to re-enable Play Store, your only option is to add a personal Google account to your phone, and switch to that account in the Play Store as described here.

To get rid of the error [DF-CHARTA-01] one can always add a new
  account to his Android-phone, then go to Google Play menu and switch
  Google Play to use the latter. To do so one has to follow the steps:

Open Google Play;
Tap Settings;
You will see the name and email address associated with the account you are using;
To select a different account, scroll down Selector;
Select the account you want to use and tap on it.

I bought two Samsung Galaxy Sky phones for my twin sons' birthday gifts and they said they could not connect to Google Play store. The message after touching the icon was:

error retrieving information from server [DF-CHARTA-01]

This is how I fixed it:
I had created for each son a Gmail account, but I realized today that when they played with their phones last night they each also added their school Gmail account, which then became default email associated with Play Store. So,

I went to Google play and tapped the 3 horizontal lines in the Search box next to words "Google Play" .
Then just looked at top of bar and saw his school account (which was our last name @ our school board address).
I touched that, then saw the gmail account name that I created for them show up underneath, and touched that and that finally worked.

Keep in mind to not use a school associated Gmail account.


text:
How to reroute all traffic from Bluetooth tether to a VPN app
Today i tried to use a Bluetooth Personal Area Network to connect to my phone from my laptop because my phone had a VPN on it. When i went to test my IP address i found that android was not rerouting my Bluetooth traffic through the VPN app like i thought but it was instead going through the WiFi normally.
So how can i make Bluetooth tethering work with my VPN app?
Android version - 4.4.2
VPN App here

Related answer helps?

@beeshyams Thanks but that solution is assuming that you have access to the settings for the vpn, since my vpn is made using an app it does not show up in the vpn settings tab, thanks though.

Looks like this could be a leak in your VPN app or even in that specific version of android itself.

Suggest you link VPN app used by you in the question to clarify which app

@ionree I will try another vpn app and update the question with my android version.

@beeshyams Updating now


text:
Unable to unlock Android phone from Android Device Manager lock
My phone is a Huawei P8 Lite ALE-L21 (Running Android 6.0). An hour ago I was testing if the Android Device Manager worked for the phone by locking it and it did. Thing is when I want to unlock my phone it doesn't let me to.
The unlock screen has a number pad with 1,2,3,4,5,6,7,8,9 and 0. There is a delete button and an Emergency Call button but there is nowhere a submit button. I cannot submit the unlock code when I type it. It says 'Your unlock password is required after a restart'. When I restart the phone it displays 'Locked by Android Device Manager' and gives an option to go to the Emergency Call screen or to input the unlock password.
I cant take a screenshot because well my phone is locked and I cant access anything except the unlock code input.
I've tried recovery via ADB but that's not an option since my glorious phone decided to unauthorized my computer.

Fixed it by restarting my phone a couple of times and inputting the first password I've set via the Android Device Manager (because I've locked it multiple times after that to attempt to 'change' the unlock password).


text:
Captioning video from mobile
I have a Youtube account with videos uploaded. I would like to caption them. I tried to google how, but I found either "go to video manager" (which I canmot find on the android apl) or a suggestion for Caption Tube, which is not on Play Store, and the website linked to in the page that suggested this gives a loading error. So is there a way to caption youtube videos from the app, or from some other Android app? If there is, which is it?

YouTube creator studio app?

@DanBrown just downloaded that from Play Store, cannot find anythig about captions of subs in it.

Then you can either do it through Chrome (May need 'request desktop site') or do it on a desktop (as intended.

@DanBrown I started with Chrome on mobile and finished with Firefox on Computer since the video only loaded partially. Other than thay, things worked out perfectly fine on mobile. Would you convert that comment to an answer? PS The reason I wanted to use my mobile is ghat I'm permanently logged in to my Uni email on my computer and logging in to Youtube would have forced a logout and then a login.

Also, I guess any mobile browser will do fine with the desktop site. Firefox sure seems to.

As discussed in the comments above, You can modify the Captions by opening the video in chrome (or Firefox), ticking 'request desktop site' in their menus, and edit as normal.


text:
How to remove Google Play services?
I want to increase my ability to remain anonymous, or at least make it harder to track me. I want to remove Google Play completely from a Samsung Galaxy S4 running Android 5.0.1.
Android works fine without Google Play. I've been running Cyanogenmod without it for a few years. Besides a few dysfunctional/crappy apps that crash because there's no Advertising ID, everything works fine.
I also don't play games or use their app store. When I find something I want, I build it from sources and install it over adb. Or I write it myself since I have a development background.
I tried to remove and disable all the Google Play stuff through Settings, but nothing has worked to date. Usually the option to remove or disable is not available (its greyed out). Or if I disable it, then the phone ignores my wishes and immediately re-enables it.
How do I remove Google Play services?

If you reflash CyanogenMod properly, it should remove Google Apps completely.

I don't think Cyanogen mod has Google apps by default. It's a separate zip file you manually have to install. If you already installed the gapps package, you will have to use a recovery to fully reset and format /system and /data . Then you can get rid of gapps.

My bad... My Cyanogenmod phone was a Nexus 4 on the AT&T network. The handset in the question above is a Verizon branded Galaxy S4 on the Verizon network.

@jww .... Well, You could always root it And slaughter random system apps?

I think your best solution would be to root the phone and then you can uninstall all the system apps you don't want.
To root the Samsung you could install TWRP custom recovery; boot into it (Home + Vol Up + Power) and choose to root the phone.
You could go a step further if you wish by installing cyanogenmod which does not come with Google apps by default.

I think you are right about rooting the phone. I've got a business trip tomorrow, so I can't risk it at the moment.

Replace with Other Play stores and Make it default. Then Users can easily Uninstall It.


text:
what's necessary and what's not? stripping a rom to the bone
I'm experimenting with using am alternate rom (cm13) as a stopgap method to play Pokemon Go between suhide updates. it's not ideal, due to the large downtime involved with backup and restore between roms just for 1 game, but it has 2 major perks:

if niantic's algorithms detect that users are identifying some players by the fact that they'll only log in when there's known working bypasses, then this will circumvent that (legitimately)
this complies with niantic's wishes to alienate rooted roms.

I've pretty much stripped all common apps, system and user, plus some audio files (ringtone, alarm, etc) and language files.
nano gapps was installed and I removed a chunk of what that added too. and this brings the total rom size down to about 1220mb installed (996 in system) or 627mb total as TWRP backup. that still seems rather large to me for the purpose of being a walking skeleton.
my question is:
what system files, be it libraries, binaries, fonts, etc etc etc can be straight up deleted without breaking cell, Bluetooth, Wi-Fi, Google Play, web browser (any), or any absolutely necessary core functionality? I want to butcher this rom.

Could use SlimRoms (If its supported) clue is in the name- Tiny OS. Mine is only a few hundred mb.

@DanBrown but is that installed or as a backup, and with or without gapps lol

Is there any AOSP (not -based, just plain AOSP) ROM available? Try one if yes. CM has to tie its own framework and features in.


text:
YES... I STILL Have My Galaxy Note 7, So I Could Please Use Some Help With Contact Errors
So, as of right now, my preinstalled Android calendar, email, & contacts applications are not working. I have NO contacts showing up. I save ALL of my contacts in my Google/Gmail account. I've installed the app "Contacts+" & finally they've shown up, but... they are all an old version of my Google contacts. I've gone into the Google Contacts website on Chrome & the correct contacts are displayed there, so I tried to "restore" them... it didn't work
Does ANYONE, have ANY helpful information for me, please!!??!!
Thank you so very much,
Scorpio2177

Exchange the Note 7 for something else... But in the mean time, delete your Google account, reboot, and then add your Google account again.

Thank you, acejavelin, but I have done that several times already. I have pictures to share, I'm not familiar with this site, am I able to add them?

Nevermind, I added the pictures to my original post! LOL!

@Scorpio2177 you should return your Note 7, there was a recall.

I've run into this before, and it wasn't fun to fix.
Go into settings, accounts, and open the affected Google account. Check to see when the last sync was between Google and your phone's contacts. If sync is off, you've found the issue. Turn it back on- Issue fixed. If it hasn't synced in a long time but is still on, continue to the next paragraph. If it just synced, skip the next paragraph and go to the following one.
Turn off the contacts synchronization in the affected account. Before proceeding, make sure that the web version of Google contacts displays everything perfectly and is not missing any contacts, because your phone's data is about to be deleted. Update the online versions if necessary. Then go into the apps list (settings-apps) and you will find one called Contacts Storage. While this isn't an app you can open per say, it contains all of the contacts in the phone, and is the source of the issue. Clear the cache and data of this app, then turn contact synchronization on the Google account back on. After a few minutes, all of your contacts will come back and the data should be correct. Comment on this answer if that does not work, because I ended up having to do more steps than just this, even though I shouldn't have.
This paragraph is if the data on synchronization says it is updated. Open the Google contacts online version and the contact on your phone and do a comparison. If they are the same, then everything is working properly and there is an issue in your contacts with Google, not the phone. If they are different, there is some witchcraft going on that even I can't explain. If the data on the web version of Google is correct but the phone isn't, follow the procedure in the preceeding paragraph. If the phone is correct but Google isn't, you're going to have to manually fix the online version and then follow the procedure on the preceeding paragraph.
I apologize for the large number of cases in this answer, but there are many different ways that this could be addressed this and I wanted to cover all of them.

Ethan Z., Take a look at the pictures I've added to my original post .

how do you compare the online version and the phone version?

@Thufir by scrolling and looking for differences. There is no magic solution unfortunately.

thanks for quick reply, measured in seconds!  I won't shoot the messenger, no matter how tempting....; )


text:
Hidden fastboot mode or no fastboot at all?
So here is my problem: I cant get in to fastboot mode on my lg k8 us375 android m 6.0.
Here is what I'm doing:

adb and fastboot are installed on pc (windows)
I have developer options and OEM bootloader unlock enabled
In terminal adb devices shows my phone
I enter adb reboot-bootloader but it does not say "fastboot mode" on screen like I have read it is supposed to. It just restarts my phone.
( note I have tried variations like reboot_bootloader; same result )

So my question is am I doing it wrong or is fastboot not on this phone. Or is it hidden somehow?

To go in Fastboot mode:
- Switch off the phone
- Hold Volume down button
- While holding down the button, connect the USB cable to the phone (assuming the cable is already connected to the computer)
The phone should go in the Fastboot mode.
In the command prompt, tape fastboot devices , you should see xxxxxxxxxxx device as feedback.
Drivers must be installed as well.
Hope this will help.

Doing this will just factory resets the phone (at least it does for LGP690).

Vol down while connecting the USB cable performs a factory reset?

Most LG phones has their fastboot hidden, though it can sometimes be enabled by zeroing the LAF partition of the device, which unfortunately requires root. All devices that can do this already has an exploit that roots them from the OS side, so it looks like yours is not one of them.
Furthermore, even if you do get access to fastboot, its functionality would be crippled depending on the model and bootloader lock status - few would accept universal commands like fastboot flash bla bla; even fewer could do fastboot oem unlock. They're just not meant to be flashed/unlocked that way - the way out is still flashing them from inside the OS using Flashify or dd, which again requires root.
There's indeed an XDA thread about unlocking generic K8/K10s; however it involves unlocking the bootloader, and it does seem that your carrier decided to keep it locked and out of touch. Until someone figures out another exploit, I'd say you're pretty much out of luck.


text:
"There was a problem communicating with Google server. Try again later."

I am unable to login to Google Play Store after I formatted my phone just because of slowness. The error is

There was a problem communicating with Google server. Try again later.

Please help.

I've downloaded play store from apk mirror.
And that's worked.
thanks to team.


text:
What can I do with my Samsung Gear 2 Neo? - I have a Nexus 5X & Samsung Tab S2 9.7
A while back I got a Samsung Gear 2 Neo, when I had a Galaxy device to pair it with.
Unfortunately, my phone got stolen.
I waited for the Nexus 5X to be my replacement phone and also got a Samsung Tab S2 9.7.
I was surprised that the Gear 2 Neo is not supported by the very recent Tab S2 9.7. It still makes no sense. The Gear Manager doesn't even install.
So my Gear 2 Neo is just sitting and still new.
How can I use of it? It seems such a waste and rather insincere that Samsung does not support the Gear 2 Neo on even recent devices.

@Imbolord Not quite... Gear 2 is different from OG Gear in that it runs Tizen and there's no Null ROM for it (there is an Android port but one without phone connection capability, AFAIK).

Yeah you are right. Sorry

This isnt duplicate. I don't have a Nexus 4 and I am also using a Samsung Galaxy Tab S2 9.7. You didnt understand the full question


text:
How can I find the group id (gid) for the sdcard_r group on android?
The question says it all. All folders on my sdcard has owner set as 0(root) and group set as sdcard_r - means all apps that have permissions to access the sdcard.
However, since I have root, I want to change the group of this folder using chgrp, so that only a selected app can access this. I know how to do this too, so no probs until now.
However, I don't want this to be a one-way setting, I want to be able to revert back to sdcard_r in case something goes wrong. Now I don't know the actual gid of this group sdcard_r and chgrp only works with gids, not names. So, how can I find the gid of this group, sdcard_r?

Weird, I don't even see a sdcard_r group listed in Root Explorer on my devices...

What group do you see assigned to a random folder on sdcard (such as /mnt/sdcard/foo) in the root explorer?

9997, which doesn't have a corresponding name in the list.

k, and if you open a terminal app and go to the sdcard folder and perform ls -al, what group does it show there? (In my case its sdcard).

What does id sdcard_r and id -G sdcard_r returns?

@PrahladYeri “everybody”, which should actually be 9999. Weird.

@Firelord uid, gid, groups are all 1028 on my device. I don't know what it can be for OP.

Thanks @Firelord, the id command shows 1028 gid for me too, but the problem is chgrp isn't working when I try to change the group, and nor does chmod 0:10066 change it. But I guess that's besides the scope of this question.

Use the following command to see GID of the concerned group:
id -G group_name
Courtesy of this answer of doylefermi.
It is very much possible that the GID would be 1028 given this line in source code of Android.