text:
Shell .profile or /etc/profile for old android 2.3.3
Just rooted my old phone with Android 2.3.3 and I would like to define some aliases for each shell I start (with adb or terminal app). I found this question where one answer says that /etc/profile (=/system/etc/profile due to soft link /etc->/system/etc) is one of the files the shell sources on startup. But this post talks about /system/bin/sh being a link to /system/bin/mksh, which is not the case on my 2.3.3 system.
Despite the fact that strings sh produces /etc/profile as one output, the file is not sourced.
Does anyone happen to know the old Android version and whether I have a chance to get /etc/profile or some other file sourced on shell startup? I thought it might be a permission problem but even rwxrwxr-x does not help.

As I wrote in the other question, adb shell does not start a login shell. Only login shells read /etc/profile.
As you can see in Android 2.3.3 sh source, main.c lines 175ﬀ. only if argv[0] starts with a hyphen-minus is the shell considered a login shell. However, a few lines below (lines 185ﬀ.) there is code to read the content of $ENV.
So you could trick it and enter the following code after entering adb shell mode:
ENV=/etc/profile sh

You can probably use exec to replace the current shell, but this is the shortest to type I can come up with, as you will have to type it every time.

Alternatively, you can compile mksh for Android 2.3 (it works down to at least 1.5, if not older) manually (the Android.mk file is version-specific, unfortunately, so you’ll have to call Build.sh directly) and add the binary, then replace the default sh with it (I tested that first with Android 1.6; the newer the mksh version used the better, as early versions had bugs, e.g. preventing adb install from working).
Disclaimer: I’m the mksh developer.


text:
How to open simple html file in Orweb browser?
I have installed Orweb(Android equiv of tor browser), Orweb doesn't appear to allow bookmarks only a homepage, no problem I'll just create a simple html page containing a list of links and set this as the homepage....
Via ES Explorer I tried setting the html file to open in Orweb using 'open as' but Orweb is not listed in the app list.
I tried opening the file in Orweb by pasting a direct link to the file in the address bar, but Orweb then insists on searching the web for the link string.
I tried setting Orweb as the default browser using 'default app manager' which seems to be accepted, but when I try to open the html file it still asks which app to use and again Orweb is not in the list of apps.
Ideas?

source: Stack Exchange

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

sort: votes


text:
Root lost After Reboot
I tried to root my phone and it worked only with Kingo Root and after I reboot my phone, I do not have root-access. I have tried several times, please answer me. I really need to root my phone. It's Vonino Jax QS.

You don't have root access how? You no longer have the GUI app? Binary errors? Root can't be undone with factory reset.

If Kingo root can't help you root successfully. You can try another tool like iRoot.I once used and found it do no harm to my device.Try as this guide:
one click root to root Android phones and tablets

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


text:
Can't uninstall package disabler app
I'm trying to remove package disabler from my phone as i have upgraded to the pro version but i seem unable to.
The app is marked as device administrator, but when I go to the menu the app is checked and greyed out so I can't remove administration rights to the app.
I tried removing it also with root uninstall app.  But no success there either.
What could I do?
Thanks

Are you running Lollipop? 2) Have you tried booting into safe mode and then tried to uncheck that app or perhaps attempt to remove it? What are your results? 3) If everything fails, then install a custom Recovery  in device, take Nandroid backup, remove the app's APK or remove executable permissions from it, reboot the device and tell us the result. 4) There may be some clue in /data/system/device_policies.xml too.

Hello, sorry for replying late, I'm running Android 4.3, I've tried the safe mode, but it didn't improve the situation. trying with nandroid thanks.


text:
Is my SD card busted?
I recently tried to move several apps from my phone's internal storage to my SD card, however, it proved to be unsuccessful. The "Move to SD card" button was merely grayed out for a while and afterwards nothing had been moved. This happened every single time I tried to move an app, so I restarted my phone. Then something peculiar happened. My phone claimed that my "SD card is blank or has unsupported filesystems". It then gave me an option to format the card, to which I consented. But now, it just tells me again and again that my "SD card is blank or has unsupported filesystems" even though I have formatted it multiple times. I have looked for solutions to this online, and it seems I have to format it on a computer. Well, the thing is, when I plug my phone into my computer the SD card does not show up as it has always done prior to this incident. Also, whenever I try to move apps to my SD card now my phone just tells me "Your phone does not have a SD card. Insert SD card." What is this all about? Is it possible to get this working again? Or do I have to buy a new SD card?
Phone: Samsung Galaxy S4.
SD card: SanDisk Ultra microSD 32 GB.

Emil! Believe it or not, it's not the problem of your SD card,but your phone. In fact, the crash of our SD cards is not common. Generally speaking, lots of phones have difficulty in loading large memory SD cards. So when you make some abnormal operations, your phone will pop up some warning information. But at this moment, you should stay calm and you shouldn't consent its requirement, or it can not recognize your SD any more. Therefore, you'd better shut down your phone and power on it again. If the phone screen pops up "SD card is blank or has unsupported filesystems", you just tap"No".


text:
Remove all Google Contacts and keep all WhatsApp Contacts?
I want to clean up deep and remove all contacts in my address book, but keep the contacts, that are linked to WhatsApp. So how to do that?

I'm afraid You can't. whatsApp uses contacts in your address book.

If you remove/delete contacts then whatsapp linked contacts also will be deleted. So how can you Keep WhatsApp contacts only?.
But you can view only whatsapp linked contacts
goto

Contacts App
Click on Options
Click on Contacts to View
Select WhatsApp from the list
Now you can view only WhatsApp contacts


text:
How to recover Hard Bricked Nexus 7
I have hard bricked my Nexus 7 tablet by fault while flashing. Now it's not turning on in any mode. Is there any chance to recover it?

Buy a usb jig
Download Odin(Just search it on google)
Download a firmware for your device.
Google https://developers.google.com/android/nexus/images?hl=en
Samsung http://www.sammobile.com/firmwares/
connect the usb jig to your device
Your device will boot into fastboot mode
Remove the jig
connect your device to PC
Start Odin
click on PDA and select the .tar file
click on start
wait till it completes(Takes 5 to 15 mins)
device will reboot
You will have your phone working.
NOTE: Make sure that you have drivers of your device installed on your PC.

Thanks Omkar, But while searching for usb jig on google I found that these are only for Samsung devices and I have ASUS Nexus 7 Tablet. Please let me know if I am wrong. I only want to get into fastboot mode, where I can flash appropriate image.


text:
How to copy SMS messages from phone to PC if I can't install apps?
I want to back up the SMS messages on my phone (an Alcatel One Touch Evolve 2), and I guess the simplest way to do that is to copy the SMS database to my PC.
According to this answer, the SMS database is found at:
/data/data/com.android.providers/telephony/databases/mmssms.db

However, this database seems to only be user-accessible if the phone is rooted, and I am currently unable to install any apps on this phone.  Every time I try to install an app from the Google Play store, I get a message saying that there is "Insufficient storage", even if I just uninstalled the same app and am trying to reinstall it.  This is probably a memory issue that requires a factory reset, which is why I'm trying to back up my SMS data before resetting the phone, but how can I get to the database if I can't put an app on the phone to root it?

Delete some of the apps or apps' data to gain some space. After that you can install Helium or any SMS backup app from Play Store. They don't need root access. However, no matter whether you do reset or not the storage issue will haunt you again. Also see Q/A in [tag:insufficient-memory] tag.

… and make sure to check the insufficient-memory tag-wiki, which gives you some first aid on solving that underlying issue.

@Firelord, I haven't been able to get Helium to work because my laptop won't recognize my phone, see this post.

sigil, always attempt to use alternatives. Didn't I say "any SMS backup app from Play Store"? You need not to remain stuck and troubleshooting the Helium or ADB. Use SMS Backup & Restore to backup the SMS'/MMS' in any folder you want and then move them to PC simply.

@Firelord, I can't install any apps on my phone.  I have 132 MB free on internal storage, and I've cleared cache for all apps, but I'm still getting the "Insufficient Storage" message whenever I try to install anything from the Play Store.  I think a factory reset will fix this, so that's why I'm trying to back up all my SMS first.

Remove some of the apps as I said earlier. Do not proceed for cache but uninstall the apps.

Use Alcatel PC Suite. You can synchronize your smartphone data with PC this way.

Link for the software please? Also, how to use this software to achieve what you wrote in answer? Please detail.

Tried this, but because my PC doesn't recognize my phone, even with the Universal ADB Driver, I can't use it.


text:
Can apps with root access the Internet without listing internet permissions in AndroidManifest.xml?
It's my understanding that, in order to access the Internet, apps must declare internet permissions in AndroidManifest.xml. If an app doesn't declare this permission, but I was to give said app root access, would it still somehow be able to access the Internet if it wanted to?

See Can Applications With Root Access Modify Their Own Permissions?

In short: apps with root access can do anything that's technically possible. They could even upload all your personal stuff to some server and then perform a factory-reset on your device. Or worse (if there is). Which is why one should take extra care when installing such apps (make sure those are.trustable).


text:
I want to remove one particular word (which is the name of someone) from appearing in atuo predict option
There is a particular name of a person who was my EX and i used to exchange a lot of chats with him. Now that I have moved on, still my android suggests his name when i type certain combination of words. How can i solve this issue

Your Android version, model name, keyboard app name, device status: rooted/non-rooted?

If you want to remove the words used by the keyboard in the prediction, you can remove a particular word by long press on that particular word,a optipn will appear to remove it.

If your keyboard doesn't have a option after long pressing the required word to be hidden/forgotten,you can clear the whole history,a bit extreme but it's pretty easy from the options.

You can do it by removing it from Personal Dictionary.

You can access Personal Dictionary in.

settings > Languge and input > Personal Dictionary
There is also possiblity that name is showing because of saved contacts.

To disable it go to Spell Checker in Language and Input and uncheck look up for contacts.


text:
Fully Remove Google Voice Search
I am running Lollipop on the LG G3 and due to a loose connection on the audio jack google voice search gets activated everytime a slight movement of ANY attached cable.
Now, I would like to deactivate google voice search completely. My phone is rooted and i am willing to raze any part of the file system to stop this annoying hellfire.
It is annoying because I can be on a free-hands call and google voice search asks me over the speakers "In order to do a google voice search please unlock your phone".
Additionally, the same physical problem results on the default music player starting to play music. Is there a wat to deactivate the wire control for the music player ?

Open your Google app (not chrome).
Press "more"
On the new screen press "settings"
You should see "google assistant" and "voice", press "voice"
Press "voice match" under the"ok Google" section.
You have finally reached the screen you need. Here turn of the setting "access with voice match"

It should be pretty simple to just remove the app, I've done this on many devices without issue.
I recommend using Titanium Backup. Just find voice search in its app list, tap it, and choose uninstall.

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


text:
Galaxy S4 back button pressing itself
After replacing the digitizer, the back (and sometimes menu) button randomly presses itself. I feel the phone vibrate as if the button was actually pressed but it was not. Sometimes there are a number of presses in a quick succession.
I did a factory reset but problem remains. Everything seems to be connected OK, I even put some electric tape between the back & menu ribbon cables to prevent shorting.
Does anyone have any ideas how to fix this?

Notice does this happen all the time or when you plugin something such as the charging cable, earphone etc.? And what is the frequency of this issue?

Happens all the time and fairly frequently.

It appears to be a strictly mechanical issue. If the phone is bent in any way, it can put pressure on the digitizer without any involvement from you.  If you take the phone apart again (but don't disconnect the cables), does the digitizer behave the same or was the pressure from the frame causing the issue?   This is obviously not a specific answer to your question, but answers to these questions would help you understand the next steps to take.  Issues like this are usually either a faulty digitizer or faulty (or badly installed) connectors.

That crossed my mind too. I removed the very tight rubber/silicon case, then I tried playing with the tightness of the screws - no change. I removed the bezel and it seems to be working better but it's kind of hard to tell because without the bezel the battery moves around and you can't easily test. I'll try again later tonight.

Switched the back bezel /mid frame housing and left the screws out and it seems to have helped a bit - the button still presses itself occasionally but not as often as before.


text:
Cannot find where Google Play Music stores downloaded files (different from similar posts)
About a year or two ago, I decided to use Google Play Music as my "cloud host", so I took all of my old music that I'd had sitting on my computer, and uploaded it to Google Play Music.  This is all my own purchased music, mostly originally from CDs (I'm older).
I now want to download some songs onto my Android device not simply so that I can listen to them, but so that I can have the .mp3 files.  (E.g., to edit one down so it can be my wake up alarm, that sort of stuff.)
I cannot seem to find where Google Play Music put any of these.  I have not rooted my device, and while I could go there, I'd rather avoid it, if possible.  I saw other posts mentioning:

/<external card>/Android/data/com.google.android.music/cache or
/<external card>/Android/data/com.google.android.music/files or
/data/data/...

There is nothing in the first 2 directories, and it seems I need root access to get at the last directory.  I read some similar posts that pointed to these directories, but some others that said this was for older versions.  My version is 6.0.1984S.2219729.  And, if it matters, I have a Samsung Galaxy S4 and Android version 5.0.1
It's really obnoxious that these apps refuse to play with each other nicely.  Google and Samsung just have to kiss and make up, because it's ridiculous that Google apps can only talk to Google, and Samsung can only talk to Samsung.  I shouldn't have to scurry around looking for all this.  Desktop / Laptop OS's don't have this problem.  It's an invented problem to help ensure monopoly ecosystems and frustrated customers.  :-(

, but so that I can have the .mp3 files. this is simply impossible for a streaming service like Google Play Music (or Spotify etc.). They encrypt the files with a public key and decrypt them with a securely stored private key, whenever you want to listen to them. In fact they create a local cloud server, that serves the actual file like the Google Play Music server would do. TL;DR: You can't access any MP3 files from GP Music, because there are none.

You should be able to use adb pull to get files from /data/data

@MatthewRead only if his device is rooted though. Otherwise ADB just gets a Permission denied. message

Have you changed the storage location in the Google Play Music Settings?

In the settings of Google Play Music, if you have it set to cache on the external SD card, your cache location will be /external_sd/Android/data/com.google.android.music/files/music/.
If you have it use the internal storage, the path will be /sdcard/Android/data/com.google.android.music/files/music.
Note that these files are named [some-id].mp3, like 124.mp3. So just copying them from this location will be difficult to determine what song they are. Not only that, as GiantTree mentions, the files are encrypted, so even if you copy them off, you cannot play them. It requires Google Play Music to play them.
Here is a screenshot of my files on the external sdcard that I navigated to within droidexplorer.

And Here is using Windows MTP to browse the files.

For my Android 6.0.1, it's in /data/data/com.google.android.music/files/music.

if it's downloaded on internal, it's locked in com.music but you'll just see Music.id file and you cannot access that database without password.
And its not encrypted if it's being downloaded to sd card
just move from its Cache location and your good to go.
Use star tag editor to add album art and tags .
And songs purchased from Google aren't even .aac or .m4a just normal mp3 320Kbps 44khz .

Nope. They are encrypted both on internal and external drives.

Thanks. In fact if you change location, the apps tells you 'moving x files'. After that you can find it in SD/Android/com.google.music/files folder in MP3 format.

This is from Windows 10
After reading all the posts and digging through my S7 to find my music files I downloaded from Google play, I found the location where they are stored.
Simply plug in your phone and change the setting (on the phone) to "File Transfer" (without the quotes). This will allow you to access both your files on the phone storage as well as the SD card storage. Open "This PC", choose "Card" then go to the following (for Windows 10):
This PC\PhoneName\Card\Android\data\com.google.android.music\files\music.
The files are named or referred to as "MP3 Format Sound" and are numbered rather than the actual name of the song, i.e. "191". That's it! Don't forget to change the setting on your Google Play to save the files onto your SD card. The default is internal storage.
Good luck!


text:
Can I receive SMS from a bluetooth connected phone?
I have a Windows Phone 7.5 phone and recently got an used (non-returnable) Android 4.4 phone. I love the Android experience but the phone is not on the right carrier. Is there a way to use bluetooth to forward SMS to the Android phone or will I just need a new one? If it took phone calls too that'd be sweet but not near as urgent.

You would need to carry both phones at all times and keep both phones charged.  With that said, I do not know of a method of doing what you want to do.

@IAmTheSquidward I'm doing that anyway in order to use the Android phone at all. I'm not sure there is a solution for what I want. I think it's possible though so I might try and make one myself.

I don't have a Windows phone so I can't speak to this working but you may be able to do this with Pushile for Windows Phone and Pushbullet for Android.
As long as both devices have connectivity it should work. You may even be able to reply from your Android device. This all depends on Pushile allowing for notification forwarding. It's a setting you'll have to enable on both devices.
Note: Pushile is an independent app not developed by Pushbullet. There is another Windows Phone Pushbullet 3rd party app called Pushpin which could also be worth a  look. There is a link at the bottom of the Pushbullet page linked above.


text:
Can I access the filesystem of an android device?
I have an android device that doesn't start because it tries to activate carrier's network.
Its out-of-contact CDMA mobile which was ported to another carrier.
I accidentally did a reset and after that it always tried to activate carrier.
Currently when I connect it, I can see it as MTP Device, but I don't see the filesystem.
Is it possible for me to go to the filesystem directly and remove possible apk files that cause this?
I am thinking of chroot-ing or something similar into the system and remove all the stuff that could trigger this activation.
Do I need to use ADB shell or to connect to the device?

You'll need root permissions to modify the file system.  Once you get that, you'll be able to do anything you want.

Rooting the OS while the device does not boot up seems tricky, however ;-)

To get access to the filesystem you need to be rooted and you need to use ADB. MTP is way to limited for the low level access your needing.

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


text:
Screen color changes with brightness slider. How to solve?
My Samsung Galaxy A5 is rooted and I tried to remove the boot animation with the remove boot animation option in the Boot Animations app. It removed the boot animation but then created a new problem.
When I slide the brightness slider to lower values, the screen develops a green tint and the display becomes like an 8bit display. Can anyone suggest what to do to make it normal?

Did you take a backup before making these changes to you mobile?

No, there's no custom recovery available


text:
How can I uninstall a device admin if the Deactivate button doesn't work?
I am trying to uninstall CM Security. It's a device admin, so I go to Settings, Security, then Device Administrators, and try to uncheck the box next to CM Security, then a screen comes up listing the privileges the app has. The options are Cancel and Deactivate. When I click Deactivate, the button depresses, but it does nothing. I can click it as much as I want, and nothing happens. How can I deactivate a device admin when this problem occurs?

Are you rooted?  You could try forcibly removing it with Titanium Backup or similar.

Not rooted. I'm just wondering what might cause this.

Try booting your device into safe mode.
You can do this by holding the power button until the shutdown menu appears, and then hold the "Power off" option until your device asks to boot into safe mode. There will be a watermark on your screen when you boot into safe mode to show you it worked.
When you boot into safe mode, only system apps are allowed to run. You should be able to deactivate the device admin from there, because no app can prevent the process from running.
Warning: all non-Google sync accounts are reset when you boot into safe mode (no idea why). This means you might need to enter your dropbox/onedrive/other account credentials.

OK - I actually found an option to do this from within the security app. Apparently it is common for security apps to prevent the user from discontinuing admin access.

I guess that's kind of logical, you don't want your advanced device protection app to be deactivated with a single tick.

There may have been a change to the app in the last four years that allows this: On my Android phone, I went to Settings, Security, Phone Administrators. Button Savior was listed as a screen lock with a checked box on the right. I touched the check box and the listing disappeared. I was then able to go to Apps, Uninstall/Disable Apps and press the Button Savior app to uninstall it.


text:
Can I make a web site continue running when in standby?
I am developing a simple web application which will be used for tracking GPS position. The general idea is that every couple of minutes it'll send the GPS location back to a server with an AJAX request. Note the device will be connected to power permanently.
We ideally need this to keep running in the background when the screen is turned off. I've put together a test with a Nexus running Lollipop and Chrome and had limited success. The requests keep sending for 5-10 minutes after the screen is off, then they stop.
Oddly there still seems to be occasional requests. For my testing I'm doing a 10 second request interval, in the real world it'll be more like 5-10 minutes. Some sort of queue? If this is a thing and I can figure out how to work with it reliably it might work.
Is there any way I can get them to keep sending indefinitely? Settings in the OS/browser, or different browser (or both) maybe?

HTML5 ServiceWorker seems to support what you need via BackgroundSync / PeriodicSync feature. However, since ServiceWorker is still an ongoing effort, I'm not sure what features are currently implemented in Chrome. I couldn't find any good demoes of this, only proposals: https://github.com/clelland/BackgroundSync/blob/master/explainer.md
Cordova has recently added support for Background sync: https://github.com/MobileChromeApps/cordova-plugin-service-worker-background-sync, but this requires you building an Android app.
Without browser's explicit support for such a feature, all your ad hoc efforts will be a waste of time, since your code will be guaranteed to work only when the browser is in foreground. Otherwise, the browser itself can be killed by the OS, and won't be able to continue executing your page's code. The periodic sync feature provided by ServiceWorker implies that the browser would schedule periodic jobs using the corresponding Android services, like you would do in a Java app.

Thanks! I'll have a look into that first link in the next couple of days and see if I can throw together a quick proof-of-concept to test with. If not, Cordova might be an option too - spinning up an app which is nothing but an iframe pointing to the actual web site might do what I need without blowing the budget. Will report back.


text:
LG l90 led light
The L.E.D. on a LG l90 Android I recently purchased does not light up. I have tried going to setting, but can find no toggle switch to activate the L.E.D.  What should i do?

Which LED are you talking about? The camera flash/flashlight? The screen backlight? The notification light? Please specify.

Assuming that you are referring to the camera flash/flashlight, there should be a widget toggle you can place on your home screen. It will most likely be called "flashlight" or "torch". If not, there are plenty of third-party apps available on the Play Store, usually requiring some trial-and-error to find one that works with your particular device.

Thanks & i am indeed refering to the  flashlight/camera flash. I have placed the widget & tried various apps but have had no luck.

Does the LED function correctly when used as the camera flash?

No the LED does not function in any capacity that I have discovered

This is starting to sound like a warranty issue with a defective product and not necessarily a software problem. You said the device was recently purchased. I think it's time to get the seller involved or perhaps contact LG.


text:
How do I use internal memory as /mnt/sdcard?
I am using a mobile device which runs Android four and has a broken micro SD card slot. The device also has lots of free internal memory. However for some reason many applications insist on only using /mnt/sdcard or /sdcard (a symbolic link to /mnt/sdcard).
I thought I could fully get around this by utilizing the following command on my rooted android:
mount -o bind /data/local/tmp/sdcard /mnt/sdcard

This was able to trick some applications only. For example the default camera applications that came with my mobile device prompts me to insert an SD card. Furthermore Open Camera reports that it failed to take a picture. MuPDF also prompts me to insert a micro SD card.
With that said how do I "convince" all applications that I "have inserted" an SD card? I have tried searching for questions and using Google but all results I found relate to attempts to use an SD card as internal memory -- the exact opposite of what I want.


text:
Transfer contacts icloud to android
How to transfer contacts from icloud to lg escape 2 via usb and laptop. FYI,I forgot 4 digit passcode on iphone 4 if that's game changer. Thanks, Pamh

There may be better ways, but here's mine:

In iCloud contacts select all (or all you want to transfer), then "Export vCard"
On Google Contacts (logged in with the same user you use on your Android device) you import the vCard file (More -> Import)
The Android device should automatically synchronize the freshly imported contacts (this might take a few minutes)
If synchronization doesn't work, look at the Settings app -> Accounts -> your Google account -> tap on the part with your E-Mail address -> make sure Contacts is active -> select "Synchronize now" from the menu)

Please note that this way, you should now organize your contacts with Google and forget about iCloud Contacts. To synchronize your Apple devices with Google Contacts, have a look at this page.


text:
Why can't I save apps into my SD-card?
I have a problem with my lenovo S750.
When I want to download something the system says:

Memory Full, Not enough storage space

It's really frustrating since I cannot use the android at all!
My phone is rooted, and I already tried to use Clean Master to move all of my apps to the SD-card, but it only moved 5 apps for me, but other than that, there is no apps on the SD-card, only photos and few videos.
The rest is probably still on the internal memory.

Internal storage is full (1GB)
micro-SD card is half empty(2GB)
phone storage is empty (1.55GB of total 1.64GB free)

Since internal storage is full, no apps will be updated due to lack of storage.
Furthermore, how can I take advantage of the phone storage?

Try this: http://stackoverflow.com/questions/2083709/android-emulator-sdcard-push-error-read-only-file-system/40449314#40449314

You have to wipe your cache partition. It is the partition where Android stores downloaded .APKs and some other system data and you cannot see it with a file manager.
Step 1
Turn off your Android device. Reboot the phone or tablet into Recovery Mode. The process is specific to the device model. For Lenovo S750:

Press and hold Volume Up and Power Button at the same time.
Release all buttons when the Lenovo S750 screen flickers and in a few seconds the Recovery screen will appear.
When the Android image appears press Power shortly

Step 2
Press the “Volume-down” button to scroll to “Wipe Data/Factory Reset.”, select it.
Step 3
Scroll to and select “Wipe Cache Partition.”
Step 4
Highlight and select “Reboot System Now.” The phone restarts.
DO NOT make "Factory reset". You will loose all your data on phone.

What partition do I to wipe the cache? the internal or the SD-card one? they both have a Download folders

It is NOT a Download folder. It is a system partition in internal flash memory that you CANNOT see.


text:
Touchwiz deleted Galaxy S Duos. Phone doesnt work beyond language setting
I have a Samsung Galaxy S Duos with Root access. Recently I removed Touchwiz through Root Uninstaller. After uninstalling, the phone screen went blank. The only thing visible was the notification bar with basic options.
I tried to restart the device but nothing happened. I recently did a hard reset on my GT-S7562. After reset the phone booted up, I did the Initial set up (language, wi-fi, time). Now a black screen shows up displaying the battery status, time network strength and nothing else.
If I press the back key the set up starts all over again. No home screen, no app drawer. Nothing except a "black" screen. I tried another reset and the same thing happened.
What do I do now?

A friendly advice: Do not remove any pre-installed app unless you have a [tag:Nandroid] backup or you exactly  know what you're doing and dealing with?

Grab yourself a stock-firmware from sammobile.com or from the xda
forum.
Install Odin v3.XX on your PC, start Odin and boot your phone into the download Mode ( Volume Down + Power )
Use Odin to flash the stock firmware onto your phone, wait until it is completed
Restart your device and set it up from the beginning
Optional: Root it again and next time - install a different launcher - you don't need to deinstall the whole touchwiz framework - I'm surprised that the systemui was still funcitonal.


text:
Missing menu 'About>Software Updates' on Stock HTC One M8 Android 5.0.1
In the 'Settings > About' there is no 'Software Updates' on my phone. I'm also expecting to receive Android 5.1 OTA update, and nothing comes. Why is there no
'Software Updates' menu on my phone (what did I do to end up here?) and how do I bring it back?
I know now that if I restore both system and data (and boot) then the update menu is there, and I receive an OTA. If I don't restore the data partition (only system+boot) then the update menu is not there and there is no OTA. It is not normal, but how can I modify my Data partition to make the software updates available again?
Device

HTC One M8
5.0.1 Stock System - but I have once modified a file on system partition, and then restored original System+Boot, but not restored original Data partition from before time of modifying system.
TWRP recovery

History - What did I do?
I installed stock android on S-ON unlocked phone and OTA'ed to 5.0.1. I then installed TWRP, made backup of all partitions. This is the backup I can now go back to. I then rooted phone, installed my apps with titanium backup, and also applied an sdcard fix editing /etc/permissions. The sdcard fix didn't work, but it was an edit of /system, so might be relevant. I didn't notice when the update menu disappeared. On another phone, HTC One m7, I did the same - except the sdcard fix, and the update menu is still there
When I now revert to stock /system, the update menu+OTA does not reappear, but if I restore /data as well I see the update menu+OTA. If I then root phone and apply sdcard fix the update menu and OTA are still there. Though I suspect that the update-menu might vanish sometime in the future after modifying system, and its just a question of it not having realised that /system is modified (pure speculation).
Note on TWRP recovery
I know I wont be able to install the OTA while on TWRP but the OTA should be available, so I see no point reverting to stock recovery before its working again.

Because you have written to the /system partition, it has locked due to the way how updates are installed, they just patch files ie. NO full system image and thus, to prevent bootloops, bricking, malfunction etc., they simply remove the OTA option.
Also: This state is saved and never checked again (because if you have tinkered /system it is intentionally permanent. Restoring /data removes this information and allows a check by the system.
It's similar to how Samsung phones detect if they have been modified; it's not instantly after the installation/reboot, but rather after a few checks (file existence, permissions, sizes, dates, hashsums etc.). This may or may not require some time to finish.
Last note: The availability/existence and extent of those checks may vary depending on the ROM's revision, the model and additional modifications by carriers or the manufacturer itself.

Thanks. Do you know of how to reset the flag on the data partition without restoring data?

I'm sorry but I don't own an HTC device so I don't know where it is saved. Probably in some database or hidden file even.


text:
Galaxy s4 charges but cannot be detected as usb device
When i connect the phone neither phone alerts it is connected nor pc recognizes as usb device.
On linux when i try lsblk command i cannot see the phone either .
This is not a linux specific problem under windows i have the same problem except charging cannot do anything via usb how can i solve this issue.
Android version 4.4.2

In Settings or from the notification area, there should be a setting when connected via USB, is that set to "Charging Only"?  If so, set it to MTP/Mass Storage Mode instead.  I can't remember how Samsung words it.

phone doesn't detect connection as well


text:
How to change Mozilla default video player?
I would like to know how to replace the default video player of Mozilla Firefox with the default Android video player on my Note 4.
My phone is not rooted.
Thank you in advance.

I don't stream videos using mobile browsers but I guess MP4 and WEBM are still the most common formats used by websites. At least for these two extensions Firefox would play the file in its default player rather than giving you the option to choose an external app to play that file.
Thankfully, Firefox didn't choose to hard-code this behavior in its code so we can still change it. We will play with about:config. Also, my solution is tested on Firefox v37.0.2 which isn't the latest release.
For MP4 files

Launch Firefox and enter about:config in the browser. Agree for any warning or agreement if you happen to come across.
In the search box, type media.fragmented-mp4.exposed.
Chane the value from true to false.

Changes would take effect immediately, else, restart Firefox.
For WEBM files

Launch Firefox and enter about:config in the browser. Agree for any warning or agreement if you happen to come across.
In the search box, type media.webm.enabled.
Chane the value from true to false.

Changes would take effect immediately, else, restart Firefox.
Now whenever you would attempt to open any of the file with said extension you would get a dialog with names of all the apps that are registered to play that file. You can choose "Just Once" or "Always" for an app shown there.

Sure. :) Would you mind telling me on which Firefox release did you successfully test this answer?

On the 40.0.3 release :)

If you're on Android use this https://addons.mozilla.org/en-GB/android/addon/external-video-player/
( go to the website find the video but dont tap play instead open the firefox menu and select "play video externally" Firefox should ask which player to use select one I've tried this with VLC & MX Player both worked. ) I used Firefox 54.0.1 which is the latest Firefox atm
For desktop I saw this https://addons.mozilla.org/en-GB/firefox/addon/video-assistant/ which I'm not sure if it works but from the look of the reviews it does.
Reasons why you'd want to use a different video player. If the video buffers, if you're getting pop-ups when playing video.
The above method by Firelord didn't work for me ( should work for older Firefox versions & useful if the extensions aren't available for your Firefox version )
media.fragmented-mp4.exposed isn't on 54.0.1 but I found media.mp4.enabled & media.mediasource.mp4.enabled. I disabled one didn't work so enabled and disabled the other still didn't work also tried disabling both didn't work. Time to binge watch all seasons of adventure time lol


text:
LG G Flex navigation buttons problem
A couple days ago I noticed a problem who is starting to frustrate me.
My LG G Flex (LG-D958) is having laggy navigation buttons.
If I open text messages, and my keyboard pops out to write, if I click "Home" button it wont react. It's the same with other two buttons "Back" and "Properties".
I tried to click it multiple times in a row, but nothing. But after i get out from the messages or any application where I need to use keyboard(viber,whatsapp), it's still almost the same. I also tried on the home screen clicking the home button for multiple times and it only reacts on only second-third click.
There are no dead pixels or any kid of problems on the display, the touch on any other part of the display is fine and works correctly.
Android version 4.4.2
Update 2#
I downloaded MultiTouch tester on Google Play, and by what I see the display is okay, but I cant test the navigation buttons...
Update 3
Okay, Ia managed to test the touch where the buttons are. I hid them and then started the application for multi-touch testing. And it seems that the touch doesn't react on a small part of the display where the nav. buttons are.Below is the picture of the phone. If i got more down the touch signs will disappear.

I am not sure if this can be a solution for you but it is worth a try right? Go to the "developer options" inside your settings app. If it is not listed there, go to "about the phone" and click 7 or more times on the entry "buildnumber". Now go back and head to the devoloper options. Under the subcategory "Input" there should be an option that touch gestures on the status and nav bar should be ignored by apps. Try disabling/enabling it and see if it makes a difference. I hope it does.

In input subcategory is only "Show touches" and "Show touch data" options


text:
Samsung Sm-A500H: Google Play reports "This app is incompatible with all of your devices"
How can I install an application which was previously installed on my device? I have a Samsung Sm-A500H.
I want a way how to do this without rooting.
Google play-store always says

"This app is incompatible with all of your devices."

There's a probability that the version on the Play Store drops the support for your device. May I know what's the app that you want to install?

You don't need to be rooted to do this. You can try to search the application file on google. You have to accept installation from unknown sources in the security option menue in your phone settings before.
Just search for "Your desired APP name.apk" - make sure to grab a relativly new version of it and try to install it manually.
But to be clear: Don't download any paid app this way. Also: This file may modified in some way so do this at your own risk. Updating it via the PlayStore won't work too. I hope this helps you.


text:
Samsung Galaxy A3
Can someone help me please. I imported a vcf card into my Samsung which asks if I want to save it to my contacts. I say yes, I have even selected edit and then done, I have set my contacts to view all and checked each option, but the imported contact is nowhere to be found.

Hi, even when I select display contacts in Sim card,  or device or all the contact is not in any of the contact lists.

You might have imported contacts to your sim card, In that case you need to import it to phone contacts from SIM card or you can reimport the contacts from vcf to your phone memory.


text:
Deleting 'infinite' recursive directory
I created a new folder inside /sdcard/ and something went wrong with it since  other 600 sub-folders (one inside the other) were created as well.
I noticed the problem when trying to rename the 'main' folder, as it returned a  "folder not found" error.
I know the number of sub-folders because I checked the properties of the main folders. There are also 160 files which I did not place there and I haven't checked what they are.
My phone is rooted and for the operation I used the CM built-in file manager.
I've been trying deleting the folders both via UI and through the shell but nothing works. If I run
rm -r /sdcard/<myfolder>/

It returns "folder not empty".
I've also tried the
-rf

option but nothing changes.
Rebooting didn't solve the issue.
I hope it's not about a corrupted partition...
Any suggestions?

I think you tried -f and -r separately. You need to use both the switches together, ie rm -rf /sdcard/<yourfolder>/

@daltofury42 No, I tried -rf, I've just edited my post to make that clear.

Try adding a -v switch and post back any relevant outputs.

Can you give us the output of ls -l on /sdcard and grep that folder in it? Also, do you have a custom Recovery installed? In my case, my clockworkmod directory wasn't getting deleted because I suppose it's group and owner wasn't media_rw and gave me the error folder not empty. I booted into custom Recovery and nuked it for good.

@daltofury42 No relevant outputs. @Firelord: drwxrwx--- root     sdcard_r          2015-09-09 11:00 Tasks. Also yes, I've got TWRP installed. I think I'll try deleting the folders from there.

Successfully removed through the Recovery command line. Thanks!

Issue resolved by running rm -r from the Custom Recovery cmd.
I'll create the folder again and see if the problem reoccurs, hopefully it was just a 'random' glitch.
(I should probably mention that I use a nightly version of CM12.1, not a stable ROM).


text:
XT1039 cannot get 5.1 OTA if I am root (but still on Stock 4.4.4)?
I own a XT1039 (moto g 4g 1st gen) and currently have unlocked bootloader and rooted.
Yet, I am on stock rom 4.4.4 and 21.11.56.peregrine_retgb.retgball.en.GB
I just contacted motorola on chat and they informed me that:
1) there is only OTA for updating to 5.1 (no way to download or load by pc Motorola Device Manager)
2) cannot guarantee that I will get a notification for the update because I m root.
I see,here
that my device should already have the update
Any help, please?..

You will not be able to install the OTA due to having root, which modifies /system.  The OTA will check this, and will fail.  Being bootloader unlocked is fine, but you'd want to get back to 100% stock, then wait to see if you receive the OTA notification.

thank you very much! could you recommend a way to get the upgrade without unrooting?

I believe you have to flash the stock system and recovery img files via fastboot.  You won't lose your data at all or have to set up your phone.  You should then be able to accept the OTA successfully.

You will need to do the process of flashing the update manually. Since you are already rooted, you could also try custom roms (if you are adventurous).

We're looking for detailed answers here. Please see how do I write a good answer? and [edit] your answer to incorporate the required steps.


text:
Cannot connect to Network - EMERGENCY CALLS ONLY
I was trying out some ROMs which I downloaded from needrom.com. At first it was fine. Then when I flashed a particular ROM, I started getting "INVALID IMEI" and could not connect to the network anymore.
Luckily I had a full backup of the phone taken with TWRP. I could not see my backup listed in the TWRP that came with the present ROM. So I flashed the Recovery with which I backed up the phone. Then I could see the Backups listed.
When I tried to restore it, it failed with this error:
Unable to mount '/data'

I guess the partitioning changed. Anyways, I could restore 'Nvram' alone and the INVALID IMEI got replaced by "EMERGENCY CALLS ONLY".
How do I fix this? Can I somehow restore the backup (by fixing Unable to mount /data)?
ROM that was working and running currently: http://www.needrom.com/download/ultralight/
ROM that started the trouble: P780_S228_8GB_KK_ROW
Phone: Lenovo P780 8GB.

You have to call your service provider to reset the phones data connection. For Sprint I had to dial ##72786# ( phone rebooted twice, data [ works after that]). Sorry not more of explaination. @ work.

@HasH_BrowN I've called the operator. The tech guy said he will do something, went on hold, and came back saying that it is a handset issue. Well it really is, because the SIM card works fine on other phones.

Which service do you use? I'll find out the code for yours. Your data (IMEI, RTN, etc) need to be reset. I just had the SAME issue. No phone calls, only 911. BTW, it is a handset issue because the ROM you used changed those settings. Now they don't match the service provider. Once you reset them, you'll get your phone calls back.

Wipe data & cache, then flash the ROM that you were using when you made the backup, then restore the backup.

@HasH_BrowN You should be right. Though I believe what Matthew suggested will solve the issue, I would love to know (and try) what these numbers are, and how to find "the codes" and then reset them. It would be nice if you would write it as an answer. But I don't live in US or EU, and my provider is BSNL India.

Matthew would be right if you want to use your old rom. I will look for the codes. If I can get what you need to fix your issue, I will then post as an answer.

I have the IMEI numbers. What other codes do I have to look for?

Found it, will post answer after work

Set APN of BSNL Internet Settings:

Settings -> Wireless and Networks -> Mobile Networks -> Access Point Names (APN)

Select or click option button
Select “New APN”, or edit the existing APN

You need to make changes to:

Name : bsnl
APN : bsnlnet
Authentication type : None
APN type : internet

Do Not Change other fields, i.e Proxy, Port, User name, Password, Server, MMS proxy and MMS port. Only edit MCC (Mobile Country Code) and MNC (Mobile Network Code) according to the list provided below. Note: Following MNC and MCC code are for the users of INDIA only

MCC MNC Network State

404 34    BSNL     Haryana
404 38    BSNL     Assam
404 51    BSNL     Himachal Pradesh
404 53    BSNL     Punjab
404 54    BSNL     Uttar Pradesh (West)
404 55    BSNL     Uttar Pradesh (East)
404 57    BSNL     Gujarat
404 58    BSNL     Madhya Pradesh
404 59    BSNL     Rajasthan
404 62    BSNL     Jammu & Kashmir
404 64    BSNL     Chennai
404 66    BSNL     Maharashtra
404 71    BSNL     Karnataka
404 72    BSNL     Kerala
404 73    BSNL     Andhra Pradesh
404 74    BSNL     West Bengal
404 75    BSNL     Bihar
404 76    BSNL     Orissa
404 77    BSNL     North East
404 79    BSNL     Andaman Nicobar
404 80    BSNL     Tamilnadu
404 81    BSNL     Kolkata

Select options, and then save this setting.

Information pulled from Reference Link, please read the lengthy comment section on the link as well.


text:
Getting "???" and no permissions when using 'adb devices' on Linux
I am new to Android and ADB. This is my first time trying to install Linux on an Android device. I have been stepping though this tutorial.
I am at step 5, where the tutorial claims I will need to authorize USB debugging connections. I'm not sure it is accurate, when I booted, the device simply informed me that there was a USB connection.
So then, I gave the Linux command:
~$ adb devices
List of devices attached
????????????    no permissions

So then I thought it might be a Linux permissions issue, and gave it sudo, but I still get the same gibberish.
~$ adb devices
List of devices attached
????????????    no permissions

when I unplug the device, and run the command adb devices nothing shows up... a blank line. So it would seem ADB is detecting something.
What is this output telling me? How might I get my device recognized?
Are there any additional settings I should enable for this to work?
This Android device, is an Nextbook Ares 11.

possible duplicate of https://askubuntu.com/questions/213874/how-to-configure-adb-access-for-android-devices

I don’t think its a duplicate, I’m not getting the same behaviour,  in that post, sudo  adb devices doesn’t yield the same thing. (read down to the bottom)

On your device, Go to Settings > About Device and repeatedly tap "Build Number" until it says you're a developer. Then go back to Settings and into Developer Options. Turn it on and check the box for USB debugging. Then Revoke USB debugging authorisations.
Now, connect your device, install its drivers if you haven't and type any ADB command. A message will popup on your device asking for authorization. Click Allow. Once you have done that, when you type adb devices it should say <device_id> device

Also you need to specify udev rules.

@daltonfury42 Could you explain, please? This worked for me, and I don't know what udev rules are :$

@Rhaegar see: Configuring ADB for Nexus 4 on Ubuntu 11.10. udev is kind of the "Linux device manager". According to the linked Wikipedia article, it might be part of systemd meanwhile on systems having gone that way.

But if the USB debugging isn't enabled already then why OP is getting "no permissions". He should get a blank line after "List of devices attached".

@Firelord It says 'unauthorized' if you don't allow the debugging (which is just about the same as no permissions) But if the dialogue box doesn't show up, starting over should fix it, no? Other ways to authorise debugging require root or a custom recovery.

No it doesn't. If USB debugging is disabled then why would it say unauthorized or anything. ADB  at PC should not be able to detect something. Unauthorized shows up when the keys are not yet stored in the device which happens when you've not agreed in that dialog. Also, authorization only shows up for Android 4.2.2 and above.

@Firelord yeah that's what I meant. How do you authorise in earlier versions?

Changing the USB Mode in phone did the trick for me. (I set it to File Transfer)

Out of curiosity, what was it set to when it didn't work?

It was on Charging Mode. (Android 7.1.2). Spent 10-15 min trying different solutions, and finally the solution was simple.

It worked! You saved me hours of stupid answers!! Tried on Android 9, Xiaomi Mi A2.

There are a number of reasons this can happen, most can be solved by following instructions of the official guide:

You didn't enabled USB Debug in your device (do it, see guide above / other answer)
Your device is USB Mode, try changing it (a notification pop up / you find a menu in the developer setting)
You miss the permission on the device on your Linux system: I explain what to do in this case

Whatever you do DO NOT launch adb start-server with sudo (some guide / answer on stack overflow suggest this). This is bad! It works cause you run the adb server as root (administrator) but this isn't supposed to run like that and could cause you other issues later.
Firt of all if you are in Ubuntu / debian check if a package named android-tools-adb is available and install it:
sudo apt install android-tools-adb

this install a community managed list of permission for android devices (unplug / replug the device or try to reboot).
Make sure you are in the udev plugdev group:
groups

if the plugdev is not listed add yourself:
sudo usermod -aG plugdev $LOGNAME
sudo usermod -aG plugdev $USER

you may have to logout and re-log in for the change to take effect, check again with groups command.
Some devices are not on the list, for example I've a Pixel 2 device which is not listed in the community maintained module. If you still get no permission this is what you have to do:
Step 1: plug your device in
Step 1: Check it is detected by your PC:
$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 8087:07da Intel Corp.
Bus 001 Device 003: ID 18d1:4ee7 Google Inc. <----------
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Step 3: note down the two codes you see after ID
In my example the device is the one named Google Inc., and the codes are 18d1:4ee7, the first is the vendor ID, the second is the device model ID, these are for Google Pixel 2
Step 4: write an udev rule for your device
sudo gedit /etc/udev/rules.d/70-android-custom-device.rules

inside it write this:
# GOOGLE PIXEL 2
ACTION=="add|change", SUBSYSTEM=="usb", \
  ATTRS{idVendor}=="18d1", \
  ATTRS{idProduct}=="4ee7", \
  TAG+="uaccess"

Raplace your comment (GOOGLE PIXEL 2) with the name of the device, this is ignored by udev, it's only useful for an human reading the file (the # is a comment). Then change the code for idVendor and idProduct with the codes for your devices.
If you have multiple devices with the same vendor you can list them all separating them with a pipe |, example: ATTRS{idProduct}=="d001|4ee7"
Step 5: restart udev to make your changes be read
sudo service udev restart

Step 6: unplug / replug your device
it should now have the permissions


text:
Google Play services not working
I just rooted my S4 using KingoRoot. After rooting I am not able to access any of the Google services.
When I try to open any of the Google services, it says

Unfortunately, Google Play Services has stopped

I am not able to open any app. When I try to open an app, it says,

[App Name] has stopped.

I tried clearing cache data of Google Play Services, reinstalled and reinstalled it, but to no avail.

First you need to factory reset your device from recovery.
Download GApps from xda-developers. (You need to search it xda). Download pico or mini version of gapps.
Copy zip file on your device and flash it via recovery.
Mostly, this will work. If not, then try to switch from dalvik to ART or ART to dalvik. (This applies only if you have 4.4+ Android OS)


text:
how can I customize Andriod interface?
What are my options to customize the android interface? I have android lollipop.  For example, visually, I find having all the apps in one screen confusing. I have like 5 functions that I should expect to do regularly, and the rest is just cluttering the place up. that is not to say I want to remove the other apps, I just don’t want to have to look at them, while I’m trying to do something else.
It might be worth noting That I am coming from the Linux environment, where everything is highly customizable, and I am expecting android to also be highly customizable. perhaps that is flawed thinking.
There is a desktop on my tablet, that has 5 icons, an apps shortlist, google play, the link to all apps, the camera, and a mail function. Can I change what apps those are?

This depends on the phone and the launcher you are using. If you want, you could simply download one of many Android launchers out there and customize it, like you want.

Try installing the Apex Launcher and long press the icon and you can customize the icon actions to whichever app you want to open. Add your phone model information.

Welcome to the Android Enthusiasts! There are way to many ways (oops) for customizing to put that in a single answer – which makes your question "too broad". I'd recommend sticking with your example here, asking explicitly for that (and removing the other parts of your question). Do it step-by-step. Use separate questions to ask for other things you want to change. The question-and-answer format of this site works best if you put each question in a separate question post. You'll get better answers that way.

Even in your pre-installed launcher you can remove apps from desktop (they will not be uninstalled from your tablet), sort them on your desktop any way you wish and add so many app icons to your desktop(s) how much place you have. Make a long tap on an icon and then you can move it or delete from desktop. Make a long tap on an icon in app drawer and then you can add it to your desktop.

My favorite launcher is nova launcher. I have not updated to the new version and I'm currently running an older version so I cant say how stable the current build is. One thing you should know about replacement launchers is they do not and can not change the look and feel of your notifications area and various other system settings. To change the look and feel of your notification area you would need to get into running custom roms like cyanogenmod etc. You might also be able to use the xposed framework to mod that area but some roms such as touchwiz tend to misbehave when you do those sorts of mods.


text:
Unlocking Android phone immediately after reboot
I have an Android phone (version 5.1.1) with cyanogenmod (version 12.1). And after rebooting I cannot immediately unlock my phone. If I try to unlock my screen (lock style = pattern) immediately after rebooting I always get the message: "try again in x seconds" where x is counting down from 30 to 0. I find this very annoying,  is there any way to disable this?
Edit: I just found out that I can actually unlock my screen before it asks me to enter my pin for unlocking my sim card. But when I do this it locks again as soon as it a asks me to enter my pin for unlocking my sim, and again have to wait 30 sec.

Are you using a Nightly build?

I have the version of CyanogenMod that comes preinstalled on the one plus. I also had this problem before the most recent system update. I doubt that one plus installes unreleased versions of CyanogenMod automatically, so it is probably not a nightly build.

I had this problem, and it kind of just.... Went.

@Manubhargav thats what exactly started this for me. I'd turn it on, and whilst boot i would make a cuppa. when I get back, the screen is off. wake it, the countdown starts.

Note: This is a workaround.
Some users have posted about the bug (saying this bug is present from long time)
 in reddit and oneplus forums.
Since it is a bug, there is no definitive solution to this.
One possible work around is to simply turn off the screen by pressing  lock button
and turn back on by pressing  lock button  again, and enter your pattern.

I just tried this workaround, but it doesn't work for me. After turning my screen off and on again the countdown just continues.

It has worked for some people. Also this is, not just confined to oneplus one, bug's been present in Samsung phones from 3 years

@koffie Bug reported across Fairphone forums here and here, Maybe a 3rd party app is causing the issue, Try booting in safe mode and see if the issue is gone, If so, then, an installed app is causing the issue.

Try doing a factory reset.
If it doesn't fix that way it must be addressed to oneplus and patched by them or installing a custom CyanogenMod where the bug is fixed.

Is there a confirmation that the Cyanogenmod builds doesn't have this issue? If yes, then please confirm. If not but there is a bug filed already then provide a link please.

@Firelord I can confirm they DO NOT fix this. For me, these only started when in installed CM.


text:
Rooted phone no root access in bash but sh
on cm 12.1 (I know the nightlies) I experienced something very curious. at first, if I start a terminal emulator, I'm not root. I'm just the user the app is running in. so if I do
echo $USER

it shows me I'm not root. everything is fine, I cannot use root features, I get <command>: Permission denied
everything is fine so far. but if i choose su, it asks for root access (graphically) and if yes, I'm root@A0001, If no, Permission denied. everything is also fine here, I am fully root.
but my issue is, I want to use bash and can't use it I a usable way. because if I use bash, I'm neither root nor a standard user. this is very crappy, because I'm something between that,
echo $USER

displays sometimes root, sometimes nothing (' '). Also, I can use most commands which needs root access, but not all. sometimes commands just die with unknown error, permission denied or sometimes without any error message. Also some commands never work in bash. others nearly at any time, which are mostly non-root commands. I am pretty angry about that, because I rooted my device and use the command line pretty much, so I want to use bash features, because my bash is installed natively and I don't just use sh, which is, btw, also installed natively and not just a symlink.
so my question is, did someone experience something similar or is there any way to fix that without refusing to use bash.
ps: one of the command, which never works with bash, is dumpsys. it dies with unknown errors.

How are you using bash? Via adb/a terminal emulator/etc.?

mainly via a local terminal emulator. I just tried it out with another terminal emulator (the built in) and it's the same. you have root access but you can't do everything (of course, if you have a partition mounted read only, the you can't write, but that's not what I mean)

How did you install bash and how, specifically, are you executing it?  su from a standard shell/terminal then bash should work.

both su -c bash and su bash don't work

What about su -c "sh -c 'exec bash'"?

it does not set $USER but it works. thank you, also if I do ... exec bash -l what's the difference? would be nice if you turn this into an answer


text:
How to hide canceled/deleted events in Google Calendar, when syncing events from Exchange?
I'm using the latest version of Google Calendar on Android 5 to sync events from an Exchange server. However canceled and deleted events keep showing up in the Calendar, even though I no longer see them on the Exchange server.
Is there a way to hide or delete them from Google Calendar as well?

I'm afraid your question is off-topic here. If you were asking about Google Calendar using the desktop web app, it would be fine, but questions about Android apps belong at [android.se]. I'm going to flag this question and suggest it be migrated there.

I'm voting to close this question as off-topic because it is about an Android app.

As of 2017 it's impossible to hide cancelled events from Google Calendar. So unfortunately you would have to delete them manually.


text:
Formatting internal MTD storage: selecting block size?
I have rooted china N101-II tablet with CyanogenMod after flashing custom ROM.
Internal MTD storage is 32 GiB large and custom ROM flashing make different layout to internal partitioning. Thus /data near 12 GiB instead of original 1 GiB (so thera are no longer need to move packages to external flash!!):
130|root@android:/system # df
Filesystem               Size     Used     Free   Blksize
/system                595.4M   549.8M    45.6M   1024
/data                   11.8G   449.8M    11.4G   4096
/cache                 126M     4.1M   121.9M   4096

Rest space left to /mnt/sdcard:
root@android:/ # cat /system/etc/vold.fstab
dev_mount flash /mnt/sdcard auto /devices/virtual/mtd/mtd9/mtdblock9 nonremovable

but custom ROM flashing process left mtdblock9 unformatted.
Under PATH available commands: mkfs.ext2 and tune2fs so I can format myself.
mkfs.ext2 support:
130|root@android:/system # mkfs.ext2 --help
mkfs.ext2 --help
BusyBox v1.21.1-jb bionic (2013-07-01 01:04 +0200) multi-call binary.

Usage: mkfs.ext2 [-Fn] [-b BLK_SIZE] [-i INODE_RATIO] [-I INODE_SIZE] [-m RESERVED_PERCENT] [-L LABEL] BLOCKDEV [KBYTES]

        -b BLK_SIZE Block size, bytes

According to:
root@android:/ # cat /proc/mtd
cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00400000 00004000 "misc"
mtd1: 00800000 00004000 "kernel"
mtd2: 01000000 00004000 "boot"
mtd3: 01000000 00004000 "recovery"
mtd4: 18000000 00004000 "backup"
mtd5: 08000000 00004000 "cache"
mtd6: 300000000 00004000 "userdata"
mtd7: 00400000 00004000 "kpanic"
mtd8: 28000000 00004000 "system"
mtd9: 46fa00000 00004000 "user"

seems that I need to select block size as 16384 (16KiB). Am I right?
UPDATE Seems that mkfs.ext2 from busybox and doesn't properly functioning:
android# mkfs.ext2 /dev/block/mtdblock9
mkfs.ext2: lseek: Value too large for defined data type

But I found mke2fs:
android# mke2fs -I 16384 /dev/block/mtdblock9
mke2fs 1.41.14 (22-Dec-2010)
mke2fs: invalid inode size 16384 (min 128/max 4096)

In order to reduce fragmentation I try to  select larger block size (which make lesser amount of erase operation on flash I hope):
android# mke2fs -I 4096 /dev/block/mtdblock9
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
1162128 inodes, 4651520 blocks
232576 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
142 block groups
32768 blocks per group, 32768 fragments per group
8184 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000

I select largest possible block size for mke2fs to avoid block fractioning as erase operation on that MTD memory performed by 16 KiB chanks:
android# /sbin/mke2fs -t ext4 -I 4096 -O ^huge_file -m 0 /dev/block/mtdblock9
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
1162128 inodes, 4651520 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
142 block groups
32768 blocks per group, 32768 fragments per group
8184 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 35 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

then:
android# tune2fs -c 0 -i 0 /dev/block/mtdblock9
tune2fs -c 0 -i 0 /dev/block/mtdblock9
tune2fs 1.41.14 (22-Dec-2010)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds

NOTE There is no need to format /data and /cache partitions. That can be done automatically in wipe data of recovery menu.


text:
Any applications using map view is crash on just bought MotoE
I've just bought a new Moto E gen2 with Andriod 5.0.2 and every application I start immediately crashes when I try opening any map-related view.
I've updated Google Maps, no effect.

Probably related to memory issue, but have you tried uninstalling and reinstalling Google Maps update? Also, could you expand more on "any map-related view"? Is it 3rd-party maps app? Or Google Maps on Browser?

Have you looked at logcat to see where the crash is occurring?  The stack trace would be helpful.


text:
What is my Google password?
I set up my device quite some time ago and created a Google account. Since then, I haven't had to use my password even once because my device is linked to the account.
The problem is, now I would like to sign into my Google account online and I can't because I have absolutely no clue what my password is.
Is there any way I can recover or even change my password from my phone?
I understand the need for privacy but I really have no need for that kind of protection.

No, you can't recover the password nor you can change it using the device if you don't know the current password.  Passwords aren't saved in plain text in the device and there is no functionality in the Android to allow changing Google account password.

Did you try to go the account recovery page and tried to provide your mobile no, or email to recover your lost password?

@Lucky I haven't tried that yet, however, I don't have a phone number and don't even have a sim card.

@Firelord oh really, /data/system/users/0/accounts.db sqlite is plain text enough for me

You have an answer with the link to the account recovery page. Please try that and provide your email after selecting I don't know my password checkbox. You'll be shown the list of recovery options.

You still have your Android device, and I assume you're using Playstore from there. Recent versions of the Playstore app ask you to provide "alternative contact details" after each install/update. Provide them. Then you can get a new password sent there.

@izzy awesome I'll have to give that a try.

Good luck! And what I forgot to write: you're only asked as long as you didn't yet provide those details. Nasty nag-screen, I hate it (I don't like to give those details) – but can prove useful to some :)

visit https://www.google.com/accounts/recovery/ to recover password. you can do this from any browser. to create your own android "app password" you need to go to google.com/accounts/security and set an "app password"
however, if you need to recover anything ever again from your phone, you can enable the 2-step verification and verify your phone number so you can be texted stuff from google.

I don't have a phone number and don't use a sim card, I have wifi everywhere.

the website for google account recovery is accessable via wifi. so is the ability to make app passwords specifically /for/ your phone if you have 2-step verification. also, instead of text messages, android phones can instlal the "google authenticator" app... again, via wifi.

I will go ahead and accept this even though it wasn't exactly what I was looking for because it seems to be the only reasonable and most standard way to do this. However, I feel it needs to be said that this seems unacceptable from a user standpoint that the capability to manage my account etc. isn't at the very least an option for those of us who choose to take upon the responsibility of trading an extra layer of security for convenience. Certainly not that it should be a default, but that it should be an option, possibly with the same kind of warning we get when raising the volume too high.


text:
How to determine if my device supports USB Ethernet controller?
I'm about to purchase USB-OTG Ethernet controller, but I read what it doesn't work on all devices. Furthermore, I've read what this functionality depends on Linux kernel been compiled with Ethernet driver or without it. So my question is in the title: how do I figure out the presence or absence of Ethernet driver in kernel?
Please feel free to correct if my logic above has any flaws.
I know already what my device supports several classes of peripherals via USB-OTG, namely mice, keyboards, mass storage.

How to make Ethernet work on Android over OTG?

Connect a USB 3.0 thumb drive (USB Mass Storage Device) to one of the Intel USB 3.0 ports
In Device Manager, click View, and click Devices by connection.
In Devices by connection view, you can easily see the USB Mass Storage device under the Intel® USB 3.0 extensible Host Controller category.

Device manager? On Android?


text:
Protocol fault (no status) or Device not found error when sideloading
I'm using the Moto G 1st gen, mfastboot and Cyanogenmod. I've turned off MTP, enabled usb debugging and have set the android device to use the motorola adb interface in device manager.
If i kill the adb.exe in task manager, i eliminate the protocol error but get "not found" instead.
I'm currently installing the android sdk in order to apply this. Please say if you know a better way.


text:
How to track down an app that shows ads on smartphone screen?
I have a problem with malware apps. Looks like some app called "Native" installed itself, and created a shortcut for itself, all without my permission. After that happened, I have pop-up ads every time I unlock my screen.
I have 2 security apps: Avast and 360 security. Neither of them can find anything wrong on my phone.
Because this new app "Native" uses such a common word as its name, I cannot find anything about it on the Internet, and I don't see anything called "Native" when I browse in the "Settings"->"Applications" menus.
So I am stuck with ads popping up every time I unlock the screen. What may be the possible solution?

I'm suspecting app called "com.android.ap.provider". But i'm not sure. it may be some default android app.

I run that "Native" app, it showed one of the pop up ads i usually get, and then a blank screen with "Hello world" on it. After i closed the app, its shortcut dissapeared, and i still have those ads poping up. Antivirus software i have installed cannot detect anything.

I am facing very similar advertisement issue on my swipe tablet. I keep getting a security permission notification which says HD player wants to get location information. I block it. But when I go into the list of installed apps there is no app named HD player. But when I see the list of all currently running app then title of one of the windows says HD Player.

Android 4 & 5

When the advertisement shows up, press the app switch button to display the recents menu (if the advertisement is full-screen and cover your soft buttons, swiping down from the top of the screen will make it appear).
It will show the name of the app displaying the advertisement.
From there, long press on the app and chose "app info"
Uninstall the app.

Android 6
For Android 6 the process is similar, however the recents menu looks a bit different. In this step you now have to long press the app icon in the title bar:

Android 7
For Android 7 the process is similar, however the recents menu looks a bit different. In this step you now have to long press the app icon then an info icon appears in the title bar that opens the settigs dialog of the app the screen belongs to:

You could use Ad network scanner & detector .
It shows the app list which shows ads and such.

 This app hasn't been updated since two years
EDIT:
AD Block Notification lists all the installed packages and allows to block ads from specified packages

Or Block This! which blocks in-app ads and browser ads.

This app is not updated since May 15, 2013. I guess its AD definitions might be quite outdated...

@ThatBrazilianGuy Thank you for letting me know.Its true but this solution is for people who cannot be bothered with doing all those steps just to find out what are the apps shows, instead app shows all the apps that shows ads.

All links broken.

You can go into the setting>apps and then swipe to the left. Then look through the list and look for an app that is on but you do not recognize and has no google in it's package name.

Go to settings then click security, click device administrators there's an app checked there but doesnt have any name. Disable it. Then go to apps. Click the blank thingy above the first app with a name (ex. Android system webview) then uninstall it.

indeed, my kid had a blank application name listed. Removing it solved it. Thanks!

Install an app from play store.
The name is malwarebytes anti-malware.
Do a full scan of device which takes time.
It might show your device is infected with adware.
Try deleting it.
In some casesthe program which introduced the adware into the device might have enabled itself as an device administrator. Disable it and delete the adware.
Hope this helps☺☺

In addition to the answer by @king:
That actually seemed to work. Photos are post removal. Just to a walkthrough.
Once you're in the Lock screen sec/device admin, there's going to be one slot under the one from android that just shows the tick on the right but blank on the left. Untick that. There should be a prompt concerning administration rights. Deactivate that bad boy!

(click images for larger variants)
Then go to apps manager. Once there look for any empty slots or rows on your apps list. On the photo i gave, there was once a row right before the app named "Adblock". You wont see it at first glance but its there. Just an empty row. Just to be sure, tap on all the apps you have on there until you notice the empty row. Tap on it and uninstall.

So far it's been 20 minutes since i did it and no pop up screen window. Yet. As opposed to before where one pops up every time I come out of screen lock.

 Click to Enlarge

Just go to settings -> apps.
Then u will spot any app without a name "as u see mine up" or that can't be deleted and it's new to you.
Mark it in the box that u see. Then click on the option button above. And disable it.
After that go back to the app and uninstall or delete it. I'm sure that the pop-up page won't come back

I had the same problem, but I managed to get rid of it. There was an application com.file-1 in data/app, didn't show anywhere except for lucky patcher, a blank space with "nothing to patch here", I saw the path in App info, tried to delete it in root browser but it came back. I finally uninstalled it in Titanium Backup, nothing else worked. Hope it helps

As you can see, I had a similar problem. It tool me 2 days but finally got the sucker. Mine was caused by this app called "android utility". It was so common that i overlooked it. Deleted many apps and couldnt find a solution.
Solution is similar to what the brazilian guy showed. For mine, i let the pop up run. Clicked on that little "i" at the corner of the pop up and it ran the app. The moment the app was identified, i uninstalled the app.

there is a pirticular app which is white in colour.so in apps also you won't find any icon.beside it inly text appears.so make sure to get rid of that

What is the app you are mentioning?

i have a simple solution for this problem...the ads appears because of an app which is invisible to us means we can't see that app in apps menu...so here is the solution..
Go to settings >lock screen and security>device administarion there you will see an app with no name is allowed for the device administration remove the tick from that app....this will not solve the problem there is more work to do.  Now go to settings>app ... The invisible app will be in downloaded or maybe in running app on the first number look carefully.. Even I didn't saw the app first time.... You are all set now just click the app and softly touch the uninstall button, as i said touch the uninstall button softly. ...and done there will be no more ads.... If you don't understand what i have written above, you can send mail on sharmahainhum@gmail.com.
And if you think i am funny please vote me....

Please at least be somewhat serious. Remove the useless emojis and wording, and of course your contact details (to prevent spams heading your way). Also, it's a bad idea to just ask for votes...


text:
Play videos from another android device over wifi
Is there a way to play videos over a wifi connection (tethering/direct)? I'm using a Nexus 9 which is lacking a SD card slot. Therefore I want to play videos from my Android phone which has enough space. As I need it for my vacation it should be an offline solution. The solutions I have found only providing copying the files from one device to another (Airdroid,Xender,Droid over wifi). Is there any streaming/direct access solution?

Run an FTP or HTTP server on your Android device which has bigger storage. There are many apps on Play Store which can create a server on Android like FTP Server Ultimate or Servers Ultimate Pro.  Creating a server on them is very easy. You can get an idea from here as well (see #Method 3).

Install a file manager which allows access to remote storage such as ES File Explorer or MiXplorer. Both are very intuitive and can create an FTP server or either access it. (See step 5 here for former's usage.)
It goes without saying that both devices need to be connected under same Wi-Fi or hotspot.

Install a multimedia player such as MX Player to stream videos.

That's it.

A more user-friendly solution might be to use AllCast together with the AllCast Receiver.
AllCast allows you to cast your media from one device to another. Usually, it's used for casting to streaming devices like the Chromecast and Smart TVs, but if you install the AllCast Receiver, you can also cast from one Android device to another.
As with running a HTTP server, both devices do need to be connected to the same WiFi network.


text:
MotoX 2014 has 24GB out of 32GB available
Keeping in mind that the same OS (Lolipop) runs on MotoG which can be 8 GB, how can it be that OS takes up 8 GB? MotoX comes with only a couple of extra software, which surely cannot much space…
(Click image to enlarge)

If this was my device, I'd perform a Factory Reset to see what the storage looks like after that.

Give us the output (screenshots) of Diskinfo and DiskUsage.

I have added the screenshots

So this would make sense if there are 3GB for system hidden from these apps

Try to do a factory reset. If your memory is still such 'low' comparing it to the other models then it's just the way it is. Flashing the entire stock image may be a good thing to do since it may be firmware related.

I have Moto X 2014. Stock ROM. The storage you get is 24.98gb. Even if you factory reset it. You will still have the same.


text:
Cellular data shutting off when i shut off wifi and vice versa
I bought a motorola moto g gen 3 a few days back and encountered a bug i can't wrap my head around.
First of: this post: Cellular data not working since 5.1 Lollipop flash adresses the same issue but since I created this account today and I lack reputation I cannot answer in that post ... I find this a rather weird designchoice for an answer based website but hey, you guys have your reasons :D hence I have to make this kind of repost :( I am sorry for that. Also for my English, its not my native language.
On the issue:
I have android 5.1.1 which came standard on the phone. I set it up to my liking and for a day everything worked fine. I am from Belgium and have a data plan with mobile vikings. I think they use the Base communication lines.
But since I woke up a few days ago I can't get my cellular data to work like it should. When wifi is enabled cellular data is also enabled. But from the second i lose my wifi connection OR is shut it off I ALSO lose my cellular data connection and instantly an exclamationmark pops right up alongside the data icon. Hence it feels like they are somehow connected but set up wrong. It feels as if the purpose is to automaticaly enable cellular date when you lose wifi connection and vise versa but somehow it bugs and works the other way round.
In that other post people suggested to ask my provider about it. Changing phones might have done something on their end but so far i did not get response. The things I tried myself were shutting the phone off and on again, removing and reinserting the simcard, fizzling with options, googling like mad, factory reset and probably something I forgot. All to no avail.
My previous phone was a windowsphone nokia lumia and all worked well there. Because of problems with the battery and my drive to go android again I bought the moto g.
Please dear androiders, help me! I am losing my mind :D

Possible duplicate of Cellular data not working since 5.1 Lollipop flash

I have a Nexus 5 with 5.1.1, and was experiencing the same thing.
It was a bit weird; I think the problem started with the 5.1.1 upgrade, but it's didn't kick in fully as a problem 100% of the time until sometime last week (1st week of September). Prior to that it was an intermittent problem, dropping about quite regularly, but returning pretty quickly.
Anyway, I rooted the phone, and reinstalled 5.1 and it's all working properly now.

Running Moto G 3rd Gen at 5.1.1.  Had all the same issues start the first couple days of September. Not sure what prompted the issue, but we all seemed to have it occur at the same time; is that when 5.1.1 went out?
Searched my carrier support pages for the proper settings and noticed that for "non-carrier devices" (my Moto is unlocked and not sold by them) they have slightly different APN settings.  I had to change the APN field. Once I changed that, my data was back. BUT that lasted less than a day before it went back to no data again. Still missing some piece of this puzzle...

I phoned mynprovider and we went over some options. Turns out there is nothing wrong with my phone but my APN settings were set-up erroneously. We went over those options and I set them up accordingly. Quick reboot and problem solved.
So for all you guys with the same symptoms, don't hesitate to call your providers helpdesk to run over your APN settings!


text:
White Screen on Note 2, cannot flash and cannot access recovery mode
Tried to do factory reset from phone settings but now only a white screen appears. I cannot access recovery mode but I can access download mode. Tried to flash it with odin but it seems the PIT table was not found. Tried to do a repartition with a PIT file but Odin returns a fail. How can i recover the PIT table?


text:
I can't plug in my charger to my Samsung Galaxy tab 3 I think something is broken but i don't know how it happened
I really need help because I have no money to buy a new one. I was charging my tablet before a party and when I had to leave I unplugged it came home and it wouldn't plug in and I have tried all kinds of chargers with a micro USB but none of them work

Welcome to the Android Enthusiasts! Please define "none of them work": cant they be plugged into the device (physically), as your picture seems to indicate (plug not fully fitting)? In this case, have you checked if something sticks in the hole to prevent that? – Or does the device simply not charge? In which case, have you tried turning off the device and see whether it charges then? Have you only tried USB cables connected to some computer, or also AC wall chargers?

Can u give us more details?

If the screen shows the status "Charging" but it's stuck, Try the following:

Reboot your phone.
Change your battery.
Perform Reset Factory(Not recommended)

If the device simply not charges:

See if there's something in the hole(You were at a party, who knows what might be in there!)
Go to a shop and fix your phone.


text:
"SD card is blank or has unsupported filesystems" message in Samsung Galaxy S4
My Samsung Galaxy S4 showed  "SD card is blank or has unsupported filesystems". It then gave me the option to format my SD card, to which I reluctantly consented.
After having done so however, it proceeds to present me with the same message, "Blank SD card", regardless of how many times I insist in formatting.
After searching on Internet, I  found that apparently I should format the SD card from my computer. I don't have an adapter for microSD cards, so I connected my phone with a USB cable to my computer, and apparently my SD card refuses to show up there.
Also, for your information, it seems that neither my phone wants to recognize the SD card, for example if I try to transfer apps to my SD card my phone tells me I don't have a SD card.
So, is there anything I can do to resolve this issue? Should I buy a microSD adapter and hope that my computer will recognize the SD card then, or should I just buy a new SD card? Or is there something else I can do?

Welcome to the Android Enthusiasts! Please see our external-sd tag-wiki and take a closer look at the graphic there :) Have you tried the card in a different device? Sometimes there are incompatibilities.

Well, as previously mentioned I don't have a microSD card reader so I can't really follow that graph if connecting your phone to a computer with a USB cable is not sufficient.

That was just one point. Have you tried the card in any other device? Have you tried a different card in your device? Hard to tell which side the error is on without at least testing that. Whether the "other device" is another phone, or some SD card reader, depends on what's available – though using the latter makes it much easier.

Sometimes your phone may not recognize your SD cards properly. Unfortunately, my phone is also one of them.
While each time it gives me the option to format my SD card, I tap "No" and then everything will be ok. All contents on my SD card can be shown normally. So, I think you may choose not to consent to format the card. Just shut down your S4 and power it on to have a try. Good luck.


text:
Genymotion + VPN
I am running Genymotion on a MAC. I tried the changed settings in Virtualbox on Adapter 2 to "Bridged" also trying NAT / NAT Network but it does not work. It runs fine on my physical Android device.
I am using Wifi on my Mac to connect to the internet.
Can someone give a hint what i am doing wrong ?
Virtual Box Screenshot  https://i.stack.imgur.com/HwHmf.png

authors: Алина Ковалёва


text:
Stock Nexus 7 2013 stuck at "Google" when booting
stock Nexus 7 2013 4G stuck at "Google" when booting.
I can go to bootloader using Power + Vol Down but failed when going to recovery. it goes to "Google" again instead of Android icon.
I also tried to unlock bootloader and flashing 5.1.0 (LMY47O) and 5.1.1 (LMY47V) but both still stuck at "Google" logo and cannot go into recovery mode.
Similar threads with no success:

Nexus 7 stucks at Google logo
https://youtu.be/BsDElKLoMV0

OH!! Unexpectedly now it works!! Here's roughly what I did:

Flash 5.1.1, & leave it to try to do normal boot => failed
try to go to recovery => failed
flash 5.1.0, & leave it to try to do normal boot => failed
try to go to recovery => failed
flash 5.1.1, & leave it to try to do normal boot => success! but very slow process!

make sure when flashing stock images all steps are successful in the command line, e.g. formatting, updating (some missing .sig files are okay)

I inserted a SIM card, and selected Start from the boot loader menu (power + volume up menu), and it booted right up.


text:
my screen is broken on my moto g. How can i put it into discovery mode on bluetooth?
My motorola moto g smartphone has broken screen.  Is there any way to connect to pc and sync my music.? I cant see the screen to turn bluetooth on so i cant get it into discovery mode.

Is "USB debugging" enabled?

To turn on bluetooth with root access it is this command:

adb shell su -c service call bluetooth_manager 6

To turn off Bluetooth with root access it is this command:

adb shell su -c service call bluetooth_manager 8

On which Android version(s) have you tested these commands? That service doesn't exist in Android 4.2.1. What's more, 6 and 8 are numbers for the functions which may vary in Android releases. It is better to mention Android version for which your commands would work.

I have tested on a a Samsung Galaxy tab pro with a rooted android 4.4.2. I have also tested this on a nexus 4. Sorry for the lack of backround information and references.http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.4.2_r1/android/bluetooth/IBluetoothManager.java/ http://stackoverflow.com/questions/20044700/android-4-4-service-bluetooth-does-not-exist

If you want to control your Android device from PC then you can use Vysor
Chrome extension : this
Demo Video : this

Vysor can be used to mirror the screen but needs USB debugging enabled.


text:
Android Phone taking up more space than it should
I have a relatively new HTC ONE M8 running Android 5.0.1 (according to the settings page).
The phone is supposed to have 10.5 GB space according to Windows, but at the moment only 945 MB is free (again, according to Windows). However, when I select all of my files within and check properties it shows that they all take up only 5 GB of space, meaning another 4-5ish has disappeared. Any ideas how to fix this, as I'm trying to free up space for more music and pictures?

Screenshots from DiskInfo and DiskUsage:

Added screenshots to my question. The ~5GB music is correct, so I assume my apps are taking up all the space? Is there a way to completely erase all apps and their data, and then redownload the ones I paid for, for free?

You can use factory reset to remove all the third-party apps and any app's data. Alternatively, you may go to Settings -> Apps, and uninstall or "clear data" for the apps you wish for.

How disk space is used on Android device?

There are a few problems it could be (or a combination of):

The stock software is massively huge and HTC has a problem that an update will fix.
An app you've downloaded has installed Bloatware and clogged up your storage.
An app you've downloaded assumed you wanted to download other things (photos, videos, etc) without telling you.

I'd advise Storage Analyzer & Disk Usage to determine exactly what it is that is taking all that space. Happy hunting!

Windows is wrong; DiskUsage is right
Based on your question, and on the comments on the question:  It is clear that Windows cannot see all the information stored on your phone, but that DiskUsage can see it all.
You need not do anything yet

I'm trying to free up space for more music and pictures

You still have 1 GB free. If this remains true forever, it's no problem.
I suggest keeping an eye on your free space.
Once your free space falls to about 500 MB, you'll be unable to install new apps. I think you may also be unable to upgrade existing apps.
Once you become unable to upgrade existing apps, it's definitely wise to take action. This is because it's wise to always keep security-sensitive apps (such as Chrome and WebView) up to date.
Buying a MicroSD card
Because your phone has a MicroSD card slot, consider buying and installing a MicroSD card and moving some stuff (music?) from your phone to the card. This will cost you money but may save you time.
Choosing a MicroSD card
Another thread provides advice on how to buy a good (non-counterfeit) MicroSD card for your phone.
OS upgrades
Perhaps you can upgrade your phone to an operating system which supports "adoptable storage". Such operating systems include:

Android 6.0 "Marshmallow",
or CyanogenMod 13.0 "Marshmallow",
or LineageOS 13.0 "Marshmallow",
or better.

Certain other "custom ROMs" also support "adoptable storage".
I do not know whether your phone supports any of these operating systems. I have not checked. To find out, you can do a Google search, or you can post another question.
If you can do such an upgrade, consider doing so before you insert the card for the first time. The operating system will offer to reformat the card for adoptable storage.
Upgrade warning
Before upgrading your operating system, and especially before switching operating systems, I strongly recommend that you back up all your data. You can back it up to the cloud or elsewhere.

authors: Миша Гончаров


text:
"Android is starting..." & "Optimizing app" @ 2014 Moto X 2nd Gen
I'm using 2014 Moto X (2nd Gen) and lately I keep getting:
Android is starting... & Optimizing app whenever I start my phone(
I tried to clear wipe cache partition, but that did not help towards resolution of my issue.

@onik, I have 2nd Gen not 1st Gen, nor do I have low space issue, AND I've cleared my cache, that did not solve my issue either. My question isn't duplicate, please reopen it. Thanks!

The core question determines duplicates, not the answer or specific device details (unless they are the source of the problem).  We want to direct everyone to the same place so that any answers provided can help everyone.